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

UTF-8 and ASCII-8BIT issue #22

Closed
jpcaruana opened this issue Oct 13, 2015 · 2 comments
Closed

UTF-8 and ASCII-8BIT issue #22

jpcaruana opened this issue Oct 13, 2015 · 2 comments

Comments

@jpcaruana
Copy link

(back ported from jekyll/jekyll#3969)

Hi,

until today, I was using the jekyll gem but I wanted to try the new github-pages gem, so I followed the doc and installed it. It updated my gems and after that my jekyll build didn't work anymore:

$ jekyll build
Configuration file: /home/jp/src/perso/barreverte.github.io/_config.yml
            Source: /home/jp/src/perso/barreverte.github.io
       Destination: /home/jp/src/perso/barreverte.github.io/_site
      Generating... 
  Liquid Exception: incompatible character encodings: UTF-8 and ASCII-8BIT in _posts/2012-08-27-binomer-avec-un-clavier-dvorak-et-un-clavier-azerty.markdown
jekyll 2.4.0 | Error:  incompatible character encodings: UTF-8 and ASCII-8BIT

But this post is online since 2012 (see http://www.barreverte.fr/binomer-avec-un-clavier-dvorak-et-un-clavier-azerty/ and its source: https://github.com/barreverte/barreverte.github.io/blob/master/_posts/2012-08-27-binomer-avec-un-clavier-dvorak-et-un-clavier-azerty.markdown)

I removed this post, just to test, and another one post failed for the same reason. I feared I had to destroy a lot of posts to be back on track, so I stopped there.

I created a travis build that shows the issue: https://travis-ci.org/barreverte/barreverte.github.io/ (see broken build https://travis-ci.org/barreverte/barreverte.github.io/builds/84308129 for instance)

I also tried with jekyll/docker and it also failed.

After a lot of searching, the issue was related to jekyll-gist and only 2 files were with problems. In both cases, I replaced the gist commands in these files (but a lot remain in other posts) and the site builds:

see commit barreverte/barreverte.github.io@3eda156

jpcaruana added a commit to barreverte/barreverte.github.io that referenced this issue Oct 13, 2015
@parkr parkr added the bug label Oct 15, 2015
@akerl
Copy link
Contributor

akerl commented Oct 23, 2015

This appears related to #18

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least
three months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If you can still reproduce this error on the

3.1-stable
or
master
branch,
please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced
hooks which provide convenient access points throughout
the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be
built as a plugin, then please provide more information about why in order to keep this issue open.

Thank you for all your contributions.

@jekyllbot jekyllbot added the stale label Jun 6, 2016
@jekyll jekyll locked and limited conversation to collaborators Apr 23, 2019
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

4 participants