Florian Balmer:

> Strings passed to SciTEBase::EncodeString(), and on 
> to the descendantSciTEWin::EncodeString(), are in 
> UTF-8 on Windows NT, and in systemdefault ANSI 
> encoding on Windows 9x (if I remember rightly...). 
> Themost simple solution would be to keep a copy of 
> the string passed toEncodeString() and always 
> convert it to ANSI (so have multibytecharacters 
> replaced by ???'s) before displaying the 
> message, i.e.before calling 
> LocaliseMessage(). 

   This would be helpful for many users and wouldn't touch much code.

> A more extensive approach 
> would beto modify the (platform-dependent) 
> functions to format and display themessage, 
> i.e. using MessageBoxW() on NT, to ensure 
> proper display ofextended characters.
        
   Doing this while retaining the existing translation would require
more modifications.

   I won't be working on either approach but will likely accept a good
implementation.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to