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
nanoc does not detect UTF-8 encoding with lowercase 'utf' in LANG variable #335
Comments
Good catch! I’ll fix. |
@elehack You mentioned “unicode errors” — can you a bit more specific about that? There should not be any errors, even when UTF-8 support is not found. |
I don't remember the exact error, and am having difficulty reproducing right now. It seemed to be a problem with filtering out the '…' characters (it complained that a string did not have valid multibyte characters, in the CLI output sanitization stack). |
Just encountered the error again, so I can provide a stack dump :). nanoc 3.6.5 on JRuby:
Running with |
I’ve added this as issue #340! |
The check in the CLI for a UTF-8 locale is case-sensitive. Fedora uses
en_US.utf8
as the environment variable for UTF-8 locales; this causesnanoc
to fail with unicode errors.The text was updated successfully, but these errors were encountered: