[nem-en] Language support and BOM
Alexey Borzenkov
snaury at gmail.com
Tue Jan 30 19:59:09 CET 2007
On 1/30/07, vc <vc at rsdn.ru> wrote:
>
> > > reader = IO.StreamReader (file, Text.Encoding("UTF-8",
> > > Text.EncoderExceptionFallback(), Text.DecoderExceptionFallback()));
>
> But, in my option, UTF-16 also should be supported.
>
You miss the whole idea. You should have read documentation on
IO.StreamReader constructor before saying something like this. Omitting
third parameter has the same effect as passing true there. And this means
that BOM *will* be detected, and thus file can be any unicode encoding,
provided it has BOM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070130/7b512423/attachment.html
More information about the devel-en
mailing list