Re: Encodings

From: mitchell <>
Date: Thu, 12 Mar 2009 15:03:18 -0700 (PDT)


> I have tested all available encodings - they seem to work (whatever
> that means), and the status bar reflects the encoding with which the
> file was saved last. However, just so there is no confusion: MacRoman
> and the ISO-8859-1 are recognized as UTF8 in the status bar. Is this a
> bug, or there is not supposed to be recognition for there? My
> understanding is that using iconv you can save into potentially any of
> the encodings provided by iconv, but that does not mean these
> encodings will be automatically recognized as such when opening the
> file. Is my understanding correct?

Yeah, I don't know of a small, elegant way to do charset detection
without using a big library of some sort. I think Textmate stores
encoding in the file's attributes portion in the filesystem, but I
doubt this would be portable in Linux and Win32.
Received on Thu 12 Mar 2009 - 18:03:18 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:38 EST