Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stephCoue/6594937 to your computer and use it in GitHub Desktop.
Save stephCoue/6594937 to your computer and use it in GitHub Desktop.
# Jekyll error
# invalid byte sequence in US-ASCII
# Error reading file /PATH/TO/FILE : invalid byte sequence in US-ASCII
# Liquid Exception: invalid byte sequence in US-ASCII in index.html
# Add This variables that change your local settings
# In your prompt
LC_CTYPE="en_US.UTF-8"
LANG="en_US.UTF-8"
# Now it should work
Jekyll serve # YEP It works!!
@abemedia
Copy link

For me it only worked when using the following

export LC_CTYPE="en_US.UTF-8"
export LANG="en_US.UTF-8"

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