[nem-en] Language support and BOM
Alexey Borzenkov
snaury at gmail.com
Mon Jan 29 23:05:40 CET 2007
On 1/30/07, vc <vc at rsdn.ru> wrote:
>
> > Auto detection is good when you need to deal with large amount of data
> > coming from non-programmers using lame soft.
>
> Oh, I not agree with you.
>
> But, if chose UTF, compiler should check BOM and give out error message if
> it not exists. It is allow use all UTF encodings and *prevent* user from
> *problems*.
(risking to contradict with my own words about Nemerle trunk) To *require*
BOM is absolutely wrong, because some editors might just not support BOM, or
some people might have reasons not to use BOMs at all (although not
applicable to Nemerle in particular, known issue with *nix executables:
<BOM>#!/usr/someprogram which just won't work, maybe there is vital software
out there that chokes on BOMs). Can VSIntegration detect if files are saved
without BOM and warn user about this? Doing this in VSIntegration is the
only sensible way to me, since for now this is a VS only issue...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070129/1e524fb3/attachment.html
More information about the devel-en
mailing list