mosml
mosml copied to clipboard
Mosml is character-set limited
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.