mosml icon indicating copy to clipboard operation
mosml copied to clipboard

Mosml is character-set limited

Open jlouis opened this issue 15 years ago • 0 comments

The code around

http://github.com/kfl/mosml/blob/master/src/runtime/str.c#L82

hardcodes the LC_TYPE possibilities and assume that a non-iso-8859-1 encoding is a non-iso charset. There are several subtle problems with this choice.

First of all, utf-8 might be used. Second, iso-8859-15 is also in use at several places. I hypothesize that the current solution will lead to subtle bugs.

jlouis avatar Jun 09 '10 11:06 jlouis