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

ISO-8859-1 characters break compilation in UTF-8 locales #2473

Closed
vicuna opened this issue Apr 18, 2004 · 1 comment
Closed

ISO-8859-1 characters break compilation in UTF-8 locales #2473

vicuna opened this issue Apr 18, 2004 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 18, 2004

Original bug ID: 2473
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: David Monniaux
Version: 3.07pl2
OS: Linux Fedora Core 1
Submission from: massena-8-82-225-77-14.fbx.proxad.net (82.225.77.14)

In the ocamldoc/ directory, some source code has lines flagged with the DEBUG
strings and containing error messages written in French with ISO-8859-1
characters. Those lines are removed by a sed command during compilation
preprocessing.

On systems running with UTF-8 locales, sed is puzzled by the ISO-8859-1
characters and garbles the output, resulting in a failed compilation.

The solution is either to set LANG=C, LC_ALL=C, either to remove non-ASCII
characters from source codes.

The problem might also be present in other multibyte encodings such as the
Japanese ones.

@vicuna
Copy link
Author

vicuna commented Apr 18, 2004

Comment author: administrator

Fixed by DD 2004/04/15

@vicuna vicuna closed this as completed Apr 18, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant