Armel Asselin wrote:
i'm testing my app against some files with accents on windows using
wxStyledTextCtrl (a derivative of scintilla). I'm trying to use some
french files... with many "é" and other such things... but it crashes
almost every lexer when built from the VC++ project. (Scite/Scilexer
as well).
it seems that the characters are almost never cast (if ever) to
'unsigned char' before being sent to 'isalnum' or such... and VC++
libc does not like negavtie characters at all.
should there be a setting for compiling with 'char as unsigned' ? (I
tried and it works... but should I have?)
the problem does not seem exhibit on the linux build of wxSTC.
(I build with VC++ 7.1.3088, Compiler CL 13.10.3077)
Did you ever try wyoEditor built in unicode mode? Or you might try the
sample editor in wxScintilla. I've never used it this way but it should
work.
I just made a simple test on Windows and it sees to work with "int é =
1;" albeit I don't know if the compiler does. Or do you have problems
with GTK+?
O. Wyss
--
Application guidelines: http://freshmeat.net/projects/wyoguide/
Cross-platform Editor: http://freshmeat.net/projects/wyoeditor/
Cross-platform Filemanager http://freshmeat.net/projects/wyofiler/
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest