[nem-en] Language support and BOM
Alexey Borzenkov
snaury at gmail.com
Mon Jan 29 22:43:05 CET 2007
On 1/30/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
>
> Exactly, how can you justify this:
> http://nemerle.org/mailman/pipermail/svn/2007-January/007309.html
> ?
I'd say that it's a very old misfeature for whole Nemerle trunk to lack BOMs
on source files (it's not related to this in particular, and it's not like
they have non-ascii symbols, but nontheless, what if something like that
happens in the future on Nemerle trunk?). And no, I can't justify that, I'd
not commit a file in Russian in the first place (bearing in mind that
non-English speaking people won't be able to read it no matter what encoding
it was written in).
As you might remember, when I proposed that auto-detection patch long ago I
though of this as misfeature, but I've grown up since then.
2007/1/29, Alexey Borzenkov <snaury at gmail.com>:
> > On 1/30/07, vc <vc at rsdn.ru> wrote:
> > > > I guess you can always convert files to utf8 and VS will read them
> > > > correctly. Maybe there is a way to make it use utf8 by default also
> > > > for new files?
> > > We can use utf-8 files in VS templates.
> > > But, we can't convert files if user does not want it!
> >
> > The solution is simple: every developer writing with Nemerle should know
> by
> > heart that they *must* use utf-8 or things won't work the way they want.
> > It's really that simple. If Nemerle would give way and support
> > auto-detection, the more reason for Microsoft and everyone else not
> fixing
> > their software.
> >
> > > Problem in that you wish to incorrectly interpret files which not
> being
> > > coded in utf.
> >
> > Who said they are not coded in utf-8? The absense of BOM doesn't tell us
> a
> > thing about file encoding. It just tells us that file can be in
> absolutely
> > any encoding. Ever had a chance looking at source files with comments
> from
> > japanese developers? VS and mostly everyone else would open them in
> wrong
> > encoding on your PC too. The same thing would be for Russian source
> files:
> > foreign people would try to compile them and get not what Russian
> developers
> > usually get.
> > _______________________________________________
> > https://nemerle.org/mailman/listinfo/devel-en
> >
> >
> >
>
>
> --
> Kamil Skalski
> http://nazgul.omega.pl
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070129/21729028/attachment.html
More information about the devel-en
mailing list