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

Can't commit message containing non-ascii chars #4

Closed
dpetukhov opened this issue May 3, 2017 · 8 comments
Closed

Can't commit message containing non-ascii chars #4

dpetukhov opened this issue May 3, 2017 · 8 comments

Comments

@dpetukhov
Copy link

Hi.

Thanks for great plugin - it's very easy for use.
When I try to commit with message like 'Поправил загрузку Roboto в стилях' - plugin can't do it.

Here is the log:

hg commit style.css -m Поправил загрузку Roboto в стилях
transaction abort!
rollback completed
abort: decoding near 'Попра': 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)!

@mrcrowl
Copy link
Owner

mrcrowl commented May 3, 2017 via email

@mrcrowl
Copy link
Owner

mrcrowl commented May 3, 2017

@dpetukhov mac/windows/linux version?

@dpetukhov
Copy link
Author

dpetukhov commented May 4, 2017 via email

mrcrowl pushed a commit that referenced this issue May 4, 2017
@mrcrowl
Copy link
Owner

mrcrowl commented May 4, 2017

@dpetukhov can you please check if you have an HGENCODING environment variable on windows?

From cmd prompt: SET HG, and check if HGENCODING is listed.

That might be the difference?

@mrcrowl
Copy link
Owner

mrcrowl commented May 5, 2017

@dpetukhov Hg v1.0.4 has been published, and hopefully helps resolve the issue with unicode commit messages.

@dpetukhov
Copy link
Author

Thanks, I will check it in few days and let you know.

@dpetukhov
Copy link
Author

And I have not set hgencoding on windows.

@dpetukhov
Copy link
Author

I have checked new release and everything works fine now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants