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

invalid byte sequence in UTF-8 fixed by literally retyping exact same text #5108

Closed
3 of 17 tasks
cferejohn opened this issue Jul 15, 2016 · 2 comments
Closed
3 of 17 tasks
Labels
frozen-due-to-age stale Nobody stepped up to work on this issue.

Comments

@cferejohn
Copy link

  • I believe this to be a bug, not a question about using Jekyll.
  • I Updated to the latest Jekyll (or) if on Github Pages to the latest github-pages
  • I Read the CONTRIBUTION file at https://jekyllrb.com/docs/contributing/
  • This is a feature request.

  • I am on (or have tested on) _macOS_ 10+
  • I am on (or have tested on) _Debian/Ubuntu_ GNU/Linux
  • I am on (or have tested on) _Fedora_ GNU/Linux
  • I am on (or have tested on) _Arch_ GNU/Linux
  • I am on (or have tested on) _Other_ GNU/Linux
  • I am on (or have tested on) _Windows_ 10+

  • I was trying to install.
  • There is a broken Plugin API.
  • I had an error on Github Pages, and I have not tested locally.
  • I had an error on Github Pages, and Github Support said it was a Jekyll Bug.
  • I had an error on Github Pages and I did not test it locally.
  • I was trying to build.
  • It was another bug.

My Reproduction Steps

So I had seen what seemed to be reported in #2523 and the first time i hit it I fixed it by removing n-dashes and smart quotes.

However, then I into it again in a file with none of these. Through repeated deleting and saving I narrowed it down to a couple paragraphs, though weirdly I could only get the problem to go away if I deleted all of them. Deleting one at a time did nothing.

After reading someone else's bug report on this and out of frustration I tried literally typing the exact same text and deleting the old text. Flabbergastingly, this worked.

Unfortunately I don't have a repro on this and I have no idea why retyping the text did anything. That probably makes this a somewhat lousy issue, but I thought it was worth reporting in case it triggered any ideas.

The Output I Wanted

@kainjow
Copy link
Contributor

kainjow commented Jul 20, 2016

What text editor did you use? Most likely it was not saved as UTF-8 and used another text encoding.

One problem I see copying and pasting that gingerbread recipe is the "180°C" - that ° is not ASCII and if your file format isn't UTF-8 Jekyll will probably barf.

@jekyllbot
Copy link
Contributor

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

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

If this is a bug and 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.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

@jekyllbot jekyllbot added the stale Nobody stepped up to work on this issue. label Sep 20, 2016
@jekyll jekyll locked and limited conversation to collaborators Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age stale Nobody stepped up to work on this issue.
Projects
None yet
Development

No branches or pull requests

3 participants