Hi.
At the moment default character set for all opened files is charset from LANG environment variable.
But it is common, at least for Russian users, to have one system LANG (for example ru_RU.koi8r) and work with documents in another LANG/charset, for example ru_RU.cp1251.
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
On Wed, 20 Jun 2007 10:44:33 +0500, Walery Studennikov despair@reg.ru wrote:
Hi.
At the moment default character set for all opened files is charset from LANG environment variable.
No, the charset for opened files is detected for each file. It may be that the detection fails or detects a wrong charset.
But it is common, at least for Russian users, to have one system LANG (for example ru_RU.koi8r) and work with documents in another LANG/charset, for example ru_RU.cp1251.
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
Regards, Enrico
On Wed, 20 Jun 2007 16:26:49 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 20 Jun 2007 10:44:33 +0500, Walery Studennikov despair@reg.ru wrote:
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
From my own experience, it is not and having to manually select the encoding for each file is time-consuming, especially if editing dozens of files is what you do everyday. But this may just be me :)
Cheers
François
2007/6/20, Enrico Tröger enrico.troeger@uvena.de:
But it is common, at least for Russian users, to have one system LANG (for example ru_RU.koi8r) and work with documents in another LANG/charset, for example ru_RU.cp1251.
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
No, because I can run geany for specific file from file manager, so the commandline will be "geany %filename%", so I can't select encoding in this case.
On Wed, 20 Jun 2007 19:49:23 +0400, "Walery Studennikov" despair@reg.ru wrote:
2007/6/20, Enrico Tröger enrico.troeger@uvena.de:
But it is common, at least for Russian users, to have one system LANG (for example ru_RU.koi8r) and work with documents in another LANG/charset, for example ru_RU.cp1251.
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
No, because I can run geany for specific file from file manager, so the commandline will be "geany %filename%", so I can't select encoding in this case.
Ok, I think we could add the requested option.
Regards, Enrico
On Wed, 20 Jun 2007 18:22:18 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 20 Jun 2007 19:49:23 +0400, "Walery Studennikov" despair@reg.ru wrote:
2007/6/20, Enrico Tröger enrico.troeger@uvena.de:
But it is common, at least for Russian users, to have one system LANG (for example ru_RU.koi8r) and work with documents in another LANG/charset, for example ru_RU.cp1251.
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
No, because I can run geany for specific file from file manager, so the commandline will be "geany %filename%", so I can't select encoding in this case.
Ok, I think we could add the requested option.
Added in SVN r1641. The new option can be found in the preferences dialog in the Files tab. It should work without problems but if anything goes wrong, please tell me.
Regards, Enrico
2007/6/26, Enrico Tröger enrico.troeger@uvena.de:
It would be convenient to set up default charset for open files in "Preferences / Files" dialog. The same settign for New files is already there.
Isn't it enough you can choose the used charset in the file open dialog?
No, because I can run geany for specific file from file manager, so the commandline will be "geany %filename%", so I can't select encoding in this case.
Ok, I think we could add the requested option.
Added in SVN r1641. The new option can be found in the preferences dialog in the Files tab. It should work without problems but if anything goes wrong, please tell me.
Thanx!