| UnicodeEncodeError | Python 3.4.3: /home/pbab0rnfutty/.local/bin/python3 Mon Dec 15 10:34:11 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/pbab0rnfutty/public_html/cgi-bin/URLDISPATCHER.py in |
| 128 UITemplateCode = UITemplateCode() |
| 129 htmlTemplate = UITemplateCode.completMatch(matchId) |
| => 130 print(htmlTemplate) |
| 131 exit() |
| 132 |
| builtin print = <built-in function print>, htmlTemplate = '<!doctype html>\n<html lang="en">\n<head>\n <!--...\n<!--{additionaljavaScriptAdd}-->\n</body>\n</html>' |
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1516-1517: ordinal not in range(128)
args =
('ascii', '<!doctype html>\n<html lang="en">\n<head>\n <!--...\n<!--{additionaljavaScriptAdd}-->\n</body>\n</html>', 1516, 1518, 'ordinal not in range(128)')
encoding =
'ascii'
end =
1518
object =
'<!doctype html>\n<html lang="en">\n<head>\n <!--...\n<!--{additionaljavaScriptAdd}-->\n</body>\n</html>'
reason =
'ordinal not in range(128)'
start =
1516
with_traceback =
<built-in method with_traceback of UnicodeEncodeError object>