libertysoft3 / saidit

The reddit open source fork powering SaidIt
https://saidit.net
Other
228 stars 40 forks source link

Python 2.x: ASCII #49

Closed evgip closed 4 years ago

evgip commented 5 years ago

After installation, an error appears:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)

On your server accepts this encoding. I wonder where to dig?

libertysoft3 commented 5 years ago

Do you know how to reproduce this? Can I have the full error trace? Is your system otherwise usable? Using the ascii codec is certainly suspicious as I thought everything was supposed to be unicode compatible.

Edit: maybe this will do it https://www.pixelninja.me/how-to-fix-invalid-locale-setting-in-ubuntu-14-04-in-the-cloud/

https://chriswarrick.com/blog/2017/06/18/unix-locales-vs-unicode/

evgip commented 5 years ago

The issue has been resolved. Need to add the missing languages ​​(local).