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

No mention of UTF fix #1882

Closed
ghost opened this issue Dec 28, 2013 · 4 comments
Closed

No mention of UTF fix #1882

ghost opened this issue Dec 28, 2013 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 28, 2013

I get this message

incompatible character encodings: UTF-8 and IBM437

I have been over
#1205, #960, #836, #493, #248, #226, #201, #188, #135, #117

and I see the fix is

export LANG=en_US.UTF-8

However I do not see this fix documented anywhere, it should be.

$ git clone https://github.com/jekyll/jekyll

$ grep -r -e LANG= -e LC_ALL= --exclude-dir .git jekyll | wc
      0       0       0
@ghost
Copy link
Author

ghost commented Dec 28, 2013

It looks like a better fix is to use the configuration

jekyllrb.com/docs/configuration

Example

encoding: utf-8

@XhmikosR
Copy link
Contributor

This only worked for me for Ruby 1.9.3. With Ruby 2.0.0 I had to use the CHCP workaround.

@drewish
Copy link
Contributor

drewish commented Feb 2, 2014

+1 for the encoding config option. solved it for me.

@ghost
Copy link
Author

ghost commented Feb 18, 2014

@XhmikosR Jekyll defaults to UTF-8 now, so these fixes should not be necessary anymore

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants