Neil Hodgson wrote:
Jens Hatlak:
I just wanted to give SciTE 1.70 a try on Sparc/Solaris (GTK 2.4), but
somehow nothing I type in appears in the editing window when 8 Bit is
active (UTF-8 works). This is even the case when I rename the
SciTEGlobals.properties and .SciTEUser.properties files. :-/
Version 1.70 changed to use the GTK+ internationalised input
mechanism (IM) for all typing so this may be the cause. Put a trace
into the CommitThis method in ScintillaGTK to see what is occurring.
I finally found the time to investigate the issue. It seems iconv cannot
provide a Converter for the conversion from LATIN1 to UTF-8 (Scite 1.71,
ScintillaGTK.cxx line 2054 -- added an else branch for the 'if (conv)'
clause). LATIN1 is the value of the 'source' parameter which is returned
by CharacterSetID (PlatGTK.cxx line 748: case SC_CHARSET_DEFAULT).
I built a new libiconv package, current version 1.11, but unfortunately
that didn't change anything. However, setting the 'source' parameter to
"ISO-8859-1" worked.
I'm not that familiar with iconv, but isn't LATIN1 just an alias for
ISO-8859-1? If that's the case, SC_CHARSET_DEFAULT could just as well
return "ISO-8859-1" and my issue would be solved. Maybe someone on the
list has an idea what's going wrong here... Anyone?
Greetings,
Jens
--
Jens Hatlak <http://jens.hatlak.de/>
Jugendnetz Frankfurt Adminteam <http://ffm.junetz.de/>
Akronyme: Abkürzungen wie ROTFL oder LOL <http://akronyme.junetz.de/>
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest