Skip to content

UTF-8 and ASCII-8BIT issue #22

@jpcaruana

Description

@jpcaruana

(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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy