[Geany] Does not re-open a non-UTF-8 file on startup
Andreas Tscharner
andy at xxxxx
Mon Oct 24 06:11:54 UTC 2011
On 22.10.2011 01:23, Lex Trotman wrote:
> [...]
>>
>> FILE_NAME_1=0;Conf;0;16;1;1;0;J:\\QUARTIS\\_dev\\locale\\QrtRes_de.rc;0;4
>>
>
> Thanks Andreas,
>
> The 16 in the line above says that when it closed Geany thought that
> the file was UTF-8 encoding, thats why it tried to open it as that.
Interesting. In the status line, it says "Encoding: CP1252"
>
> I guess we better get the obvious one out of the way first :) Can you
> check what Geany thinks the encoding of the file is (document->set
> encodings->).
Even more interesting: in the status line it says CP1252 (which is
correct), in the menu it is actually set to UTF-8 (not correct. The file
contains non-ASCII characters which are actually CP1252 encoded).
I think that's the problem...
>
> How do you open the file? Do you explicitly set the encoding on open?
Using the open dialog. I looked at the extended options this time and
the encoding was set to "read from file" (translated from german)...
Best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner andy at vis.ethz.ch ICQ-No. 14356454
More information about the Users
mailing list