--> -->
 
 
UnicodeEncodeError
Python 3.6.9: /usr/bin/python3
Sun Jun 26 20:04:23 2022

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/cryan/secure_html/generallistall.py in <module>()
    200 webpage = webpage.replace("#category", category)
    201 
    202 webpage = "".join([s for s in webpage.splitlines(True) if s.strip("\r\n")])
    203 
=>  204 print(webpage)
builtin print = <built-in function print>, webpage = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <m...ssorigin="anonymous"></script>\n </body>\n</html>\n'

UnicodeEncodeError: 'ascii' codec can't encode characters in position 16175-16177: ordinal not in range(128)
      args = ('ascii', '<!DOCTYPE html>\n<html lang="en">\n <head>\n <m...ssorigin="anonymous"></script>\n </body>\n</html>\n', 16175, 16178, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 16178
      object = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <m...ssorigin="anonymous"></script>\n </body>\n</html>\n'
      reason = 'ordinal not in range(128)'
      start = 16175
      with_traceback = <built-in method with_traceback of UnicodeEncodeError object>