On Tue, 24 Oct 2006 13:50:23 +0200, Francois Cami fcami@winsoft.fr wrote:
On Mon, 23 Oct 2006 18:39:45 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Sun, 22 Oct 2006 19:09:57 +0400, Fedor Fedorovich Lejepekov FFL-Public@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).
Interesting. On my Windows XP(German) cp1251 works but koi8-r doesn't work(works well under Linux). Strange thing, I guess this is related to the Windows locale and/or to the Windows port of GLib.
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.
Ok, maybe I did something wrong. But your Kate also doesn't auto detect the encoding, does it?
Would it be possible to have a Geany r919 (or later) win32 build ? I'm very interested in using and testing this on win32.
Of course, please see http://lists.uvena.de/geany/2006-October/000506.html.
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.
Hmm, maybe. But .c? Are you sure you want to write source code in an non-Utf-8 encoding? By the way, Geany doesn't differ between Ascii and Utf-8 encoding because Ascii is a subset of Utf-8 and so if a file has an Ascii encoding it is always validate Utf-8.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key