On Mon, 23 Oct 2006 18:39:45 +0200
Enrico Tröger <enrico.troeger(a)uvena.de> wrote:
On Sun, 22 Oct 2006 19:09:57 +0400, Fedor Fedorovich
Lejepekov
<FFL-Public(a)Yandex.Ru> wrote:
> + I found menu item File->Reload as, it's have that functionality,
> which i need now. :)
I hadn't found that either - thanks. However, either I'm doing something
wrong or encoding selection is broken on win32, for Russian (1251) at
least. However, it works for Polish (1250). Font is set to Verdana,
which should work (works with Notepad).
For all who are interested in the problem, the sent
files can be found
on
http://www.uvena.de/tmp/geany_koir_test_files.tar.bz2.
I did some testing with Anjuta 2.0, Gedit and Kate.
Anjuta and Gedit can't detect correctly the encoding of test.koi8 and
test.cp1251 but at least Gedit can display it correctly when the
encoding is specified explicitly. And this can also be done with Geany
either by using "Reload As" or by specifying the encoding the file
open dialog(added in r919). Kate has a special problem: it offers
also a drop down box in the file open dialog to choose an encoding
but it seems that it doesn't work. Maybe a bug, I don't know.
Kate works as expected on FC4 with the test files, at least.
Would it be possible to have a Geany r919 (or later) win32 build ? I'm
very interested in using and testing this on win32.
Feature request : being able to associate specific file extensions
(ex: .rc , .xml, .c) with a specific encoding (respectively
windows-1250, utf-8, ansi - these are only examples) in the preferences.
So, I hope to choose an encoding in the file open
dialog for files
which are known to be not detect correctly is enough. At least, I
don't know a better way.
AFAIK, this is a rather good way of doing it.
François