| UnicodeEncodeError | Python 3.4.3: /home/pbab0rnfutty/.local/bin/python3 Mon Dec 15 10:40:30 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 1507-1508: ordinal not in range(128)
args =
('ascii', '<!doctype html>\n<html lang="en">\n<head>\n <!--...\n<!--{additionaljavaScriptAdd}-->\n</body>\n</html>', 1507, 1509, 'ordinal not in range(128)')
encoding =
'ascii'
end =
1509
object =
'<!doctype html>\n<html lang="en">\n<head>\n <!--...\n<!--{additionaljavaScriptAdd}-->\n</body>\n</html>'
reason =
'ordinal not in range(128)'
start =
1507
with_traceback =
<built-in method with_traceback of UnicodeEncodeError object>