Re: [Geany-devel] Geany problems with unknown encodings names

2011-11-04 Thread Lex Trotman
Hi All, If no one has any better ideas I'll just fix the immediate problem by saving the text of the encoding in the files list instead of the index. Anything more complex can wait. Since Geany doesn't seem to care that the file was loaded with an encoding it doesn't know and it uses the text of

Re: [Geany-devel] Geany problems with unknown encodings names

2011-10-24 Thread Matthew Brush
On 10/24/2011 04:03 PM, Lex Trotman wrote: 2011/10/25 Enrico Tröger: On Tue, 25 Oct 2011 01:12:23 +1100, Lex wrote: [snip all] I came upon some stuff while trying to improve Mousepad's encoding support: http://cihar.com/software/enca/doc/ch01.html and also a little useful: http://developer

Re: [Geany-devel] Geany problems with unknown encodings names

2011-10-24 Thread Lex Trotman
2011/10/25 Enrico Tröger : > On Tue, 25 Oct 2011 01:12:23 +1100, Lex wrote: > >>Dear Encoding specialist (or Colomban by default :) > > Lol, this is a sweet. > But please don't count my answer as "Enrico is an encoding specialist". Of course Enricoding :) > > >>The thread [1] has exposed a proble

Re: [Geany-devel] Geany problems with unknown encodings names

2011-10-24 Thread Enrico Tröger
On Tue, 25 Oct 2011 01:12:23 +1100, Lex wrote: >Dear Encoding specialist (or Colomban by default :) Lol, this is a sweet. But please don't count my answer as "Enrico is an encoding specialist". >The thread [1] has exposed a problem with the way Geany handles >encodings that it gets from the ext

[Geany-devel] Geany problems with unknown encodings names

2011-10-24 Thread Lex Trotman
Dear Encoding specialist (or Colomban by default :) The thread [1] has exposed a problem with the way Geany handles encodings that it gets from the extraction regexes and from the locale. The reference thread shows that Geany gets an encoding CP1252 from the locale, this is fine for reading the f