-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong encoding crashes the app when trying to print the __header__ #106
Comments
Yes, I forget to take encoding into consideration, I applied the changes accordingly. |
I recently found out that if a file name countains some characters, like "–", it will also crash I made some changes that worked for me. Here is the pull request with them #112 Without those changes, the error message that I was getting was
|
Yeah another encoding issue. |
I found out that if you are executing subsai from a nodejs app, while your windows machine encoding is set to japanese (cp932), header will give a error message "cp932' codec can't encode character '\u2588'", when the library tries to print header in the line 118 of the file cli.py
I don't know python, but from what I have been searching on stackoverflow, adding ".encode('utf-8')` to the header seems to fix it on my machine.
The text was updated successfully, but these errors were encountered: