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

Syntax highlihgter doesn't work with non-utf-8 encodings #197

Closed
benjaminvialle opened this Issue Nov 30, 2010 · 1 comment

Comments

Projects
None yet
3 participants
@benjaminvialle
Member

benjaminvialle commented Nov 30, 2010

Some of Centrale Nantes' teachers found this bug.

Syntax Highlighter doesnt work with some encodings. Here are there conclusions :

NO : texte-isolatin1.txt: ISO-8859 text
NO : texte-macroman.txt: Non-ISO extended-ASCII text
NO : texte-utf8-mac.txt: Non-ISO extended-ASCII text
YES : texte-utf8.txt: UTF-8 Unicode text

If you want to do the test by yourself, you will find these 4 files here :
http://bvialle.eu/pub/file.php?h=R6cb4e977f87912f1b898ebf3f12db54e

@guillaumemoreau

This comment has been minimized.

Show comment
Hide comment
@guillaumemoreau

guillaumemoreau Nov 30, 2010

to be more accurate: the texte-utf8-mac is a simple cat of the utf8 file and of macroman file in order to a have a mixed file. It unfortunately derives from an existing situation !

guillaumemoreau commented Nov 30, 2010

to be more accurate: the texte-utf8-mac is a simple cat of the utf8 file and of macroman file in order to a have a mixed file. It unfortunately derives from an existing situation !

@ghost ghost assigned ghigt Jun 8, 2013

benjaminvialle added a commit that referenced this issue Jul 4, 2013

Merge pull request #1131 from GhiGt/issue-197
Closes #197: Encoding breaks with non utf-8 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment