manoj marathayil:

> Here i am attaching the .cpp file. My default language is English, i changed
> this to malayalam and started typing, it is displaying ?????? ..only.But in
> notepad it is showing malayalam fonts correctly.

   It looks like Malayalam does not work with ANSI functions,
requiring everything to be done in Unicode. Scintilla tries to use
ANSI calls to remain compatible with Windows 9x. To input Malayalam,
you will have to change the Scintilla source code. First register the
window class as wide. In win32/ScintillaWin.cxx ScintillaWin::Register
find the piece of code that calls RegisterClassExW, disable the #if
that doesn't let this run and remove the RegisterClassEx call. In the
handling of WM_CHAR, find the commented out code and remove the
comments and drop the AddCharBytes call. In your message loop, use the
wide calls GetMessageW, TranslateAcceleratorW and DispatchMessageW.

   Neil

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

Reply via email to