[nem-en] Language support and BOM

Kamil Skalski kamil.skalski at gmail.com
Mon Jan 29 20:33:47 CET 2007


BOM allows you to detect utf... which in our case makes not sense,
since we ALWAYS read as utf8.

Why don't you simply convert all your files to utf8?  VS handles it
correctly, so I can see no problems - VS detects both utf8 formats,
with and without BOM. Nemerle compiles fine also both of those
formats.

2007/1/29, vc <vc at rsdn.ru>:
> It's inconveniently to use Russian strings in Nemerle source files.
> By default VS treat files as encoded in current encoding. In my PC it's a
> 1251. ncc tarte files as UTF-8. It's result to trash instead Russian text.
>
> Suggest read files as array[byte] and convert it's content to appropriate
> encoding on the basis of Byte Order Mark (BOM):
> http://en.wikipedia.org/wiki/Byte_Order_Mark
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list