On Sat, 8 Dec 2007 01:54:20 +0200, Yura Siamashka yurand2@gmail.com wrote:
Hi
On Fri, Dec 07, 2007 at 06:09:55PM -0300, Diego Jacobi wrote:
Any way, i have never get on the need to have a so uncommon coded file that i should exactly tell what is the encodding. Cant the autodetection ask for the encodding if doesn't detect it?
Autodetection fails 100% on every cp1251 russian or belarusian file. Asking every time for encoding will be extremely annoying.
But it should be a little bit better now with the both changes in SVN r2093. For session files, Geany remembers the used encoding, i.e. set it once after failed auto detection and it gets the set encoding after next start(as long the file is open in Geany).
And for often used files, you can add geany_encoding=WINDOWS-1251 to the beginning of the file(e.g. in a comment). Then Geany will use this encoding instead of any auto detected one.
Btw, does anyone know whether there is a difference between WINDOWS-1251 and CP-1251? "iconv -l" list both, Geany uses WINDOWS-1251. Are they both listed to provide an alternative name or is there a real difference(for iconv)?
Regards, Enrico