[Geany] Does not re-open a non-UTF-8 file on startup

Lex Trotman elextr at xxxxx
Fri Nov 4 09:18:33 UTC 2011


2011/11/4 Andreas Tscharner <andy at vis.ethz.ch>:
> On 04.11.2011 09:15, Gregor Heinrich wrote:
>>
>> Hi,
>>
>> I have the same problem.
>>
>> My files have an IBM850 encoding. After I had open the file, in the
>> status line it says "Encoding: CP1252". On "document->set encodings->"
>> it is UTF-8.
>>
>> The two lines from my geany.conf after closing:
>>
>> FILE_NAME_0=606;strakon;0;35;1;1;0;C:\\ebt\\kt800.pro;0;4
>> FILE_NAME_1=0;strakon;0;16;1;1;0;C:\\ebt\\kt800-1.pro;0;4
>>
>> The first file I have reload with IBM850 and it is OK after reopen
>> geany. The second file could not be loaded.
>>
>> Default encoding for new files is: ISO-8859-15
>> Default encoding for non-unicode files is: IBM850
>> (The checkbox between these two options is set)
>>
>> pref_editor_default_new_encoding=ISO-8859-15
>> pref_editor_default_open_encoding=IBM850
>>
>> The debug messages:
>> 08:41:52: Geany INFO: Geany 0.21, German_Germany.1252
>>
>> 08:42:07: Geany INFO: Trying to convert 18662 bytes of data from CP1252
>> into UTF-8.
>> 08:42:07: Geany INFO: Converted from CP1252 to UTF-8.
>> 08:42:08: Geany INFO: C:\ebt\kt800-1.pro : strakon (CP1252)
>>
>> file->properties -> Encoding: CP1252
>
> I have exchanged a bunch of emails with Lex Trotman and the last thing I
> heard from him was that he knows what the problem was, but that someone else
> has to fix it. I hope that this "someone else" has already fixed it or the
> problem is described in their bug tracking system

Hi Guys,

We are still looking at how to fix the problem.  There is potential
for major flow on from any change so it needs to be considered
carefully.

Better we take the time to do it right the first time than introduce
further problems.

Cheers
Lex



More information about the Users mailing list