-
Notifications
You must be signed in to change notification settings - Fork 194
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
UnicodeEncodeError: 'charmap' codec can't encode character '\u202f' in position 54: character maps to <undefined> encoding with 'cp437' codec failed #184
Comments
I managed to get something working by first extracting the archive in a new directory and then point the viewer to that. I know, workaround, but haven't debugged it. It was trying to decore an utf-8 string using cp437. |
I ran into the same error. Did you happen to export from slackdump? It might be that slackdump is using UTF-8 instead of cp437 for the zip file. |
I had this problem too, it was complaining about files with áéíóú characters in them. My temporay solution was to comment this line and suddenly it worked fine:
I don't know why that encoding conversion is there in the first place though, I feel that it shouldn't be necessary and it creates problems for people that don't have English as their default language. 🤔 |
same problem |
Same problem, using an archive from slackdump on MacOS. |
+1. From slackdump on MacOS installed with homebrew. |
@aalkz that change was added in this PR: #166 - if other people can confirm that reverting this change unblocks them then this change can be reverted (or perhaps added as an option in the program to enable or not). |
I had the same problem, comment out the line unblocked me. However, it won't be able to show the direct messages. and I don't know if this is related to this line of code or a unrelated known problem. |
There is a PR to revert the old default: #218 In the mean time, with the latest version you can use the command line flag |
in my case this was due to user names with accented characters like é etc. |
I encountered the same issue with Korean as well. Commenting out the line at this location resolved the problem for me.
|
Tried to view an export zip via Mac terminal.
Ran into this error which halts it. Any ideas?
The text was updated successfully, but these errors were encountered: