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

string convertion between locale-string and utf-8 on windows #11

merged 1 commit into from Mar 8, 2016


None yet
2 participants

mattn commented Mar 8, 2016

Thanks for nice software.

In CJK environment, strings are encoded with non-utf-8, double byte character set. So this change convert string following.

  • arguments
  • input string from stdin if stdin is tty
  • output string to stdout if stdout is tty

This patch doesn't break any compatibility on UNIX.

@jpmens jpmens merged commit e2caf5e into jpmens:master Mar 8, 2016


This comment has been minimized.

Show comment
Hide comment

jpmens Mar 8, 2016


Merged, thank you!


jpmens commented Mar 8, 2016

Merged, thank you!

@mattn mattn deleted the mattn:locale branch Mar 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment