Hi Jeffrey,
> To make full use of system ANSI codepage ability, I optimize the process
> like this:
> if(IsNT() || nCodePage==0 || b9xACPSame){
> ::ExtTextOut(hdc, rc.left, ybase, ETO_OPAQUE, &rcw, s,
> Platform::Minimum(len, maxLenText), NULL);
> } else {
> ... // Unicode conversion
> }
>
> void SurfaceImpl::SetDBCSMode(int codePage) {
> // No action on window as automatically handled by system.
> nCodePage = codePage;
> if(!IsNT() && ((unsigned int)nCodePage == GetACP()))
> b9xACPSame = true;
> else
> b9xACPSame = false;
> }
OK.
> May I upload the new patch to CVS? And the path?
> If Scintilla or sourceforge CVS has any limitation or rules, please inform.
If you can attach it to the fault report that would be best (I
don't understand why you had problems as its quite common to have
attachments added with each note) or send it to my personal address.
I'm fairly cautious about multiple people writing to CVS, particularly
in shared source files.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest