Skip to content
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

Not working with non English? #7

Open
ranqiangjun opened this issue Jul 3, 2019 · 4 comments
Open

Not working with non English? #7

ranqiangjun opened this issue Jul 3, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@ranqiangjun
Copy link

Traceback (most recent call last):
  File "./migrate.py", line 232, in <module>
    obj.dumpfiles("rocketchat_uploads", store)
  File "./migrate.py", line 116, in dumpfiles
    upload['name']))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 30-33: ordinal not in range(128)
@arminfelder arminfelder added the bug Something isn't working label Jul 3, 2019
@ranqiangjun
Copy link
Author

BTW, a dirty way to get it working, prepending PYTHONIOENCODING=utf-8 to the commands

@ranqiangjun
Copy link
Author

PYTHONIOENCODING=utf-8 works with Chinese, but not working with Vietnamese according to my rocketchat installation.

@arminfelder arminfelder reopened this Jul 7, 2019
@sennewood
Copy link

It doesn't work with german either (#19).

@tamasgal
Copy link

See #19 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants