On Tue, 24 Oct 2006 22:06:26 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
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.
I can't comment on that :)
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?
I didn't test that yesterday, I only tried selecting the encoding in the "open file" dialog before encoding. However, I've just tested again today without selecting the encoding - and it auto-detected it just fine. package is kdebase-3.5.3-0.2.fc4
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.
Thanks a lot ! Will test today.
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.
This was only an example, since I've never needed anything else than ISO-8859-1 (basic western) or just plain ascii for C. UTF-8 is perfectly fine, though. I'll see what I can do about this extension<=>encoding thing next weekend, I have my hands full right now.
Regards, Enrico
Thanks again...
Best, François