Shugabuga / Silica

A static site generator for MobileAPT repos.
https://silica.shuga.co/
Other
160 stars 39 forks source link

UnicodeEncodeError: 'latin-1' codec can't encode character '\u2013' in position 2218: ordinal not in range(256) #38

Closed worf1337 closed 2 years ago

worf1337 commented 3 years ago

Hi,

I'm compiling a repo with Silica, and getting an error every time. I'm putting it below.

Silica Compiler 1.2.2 Traceback (most recent call last): File "index.py", line 225, in <module> main() File "index.py", line 125, in main PackageLister.CreateFile("docs/index.html", index_html) File "/root/Documents/Silica/util/PackageLister.py", line 25, in CreateFile text_file.write(contents) UnicodeEncodeError: 'latin-1' codec can't encode character '\u2013' in position 2218: ordinal not in range(256)

If anyone could help that would be appreciated. Thanks!

worf1337 commented 2 years ago

alright i've ruled it to just be that my linux setup is fucked. worked after wipe.