under Wx::wxUNICODE() there is no problem with STC also not 
if you set right codepage, eg ->SetCodePage(65001);

just check kephra.sf.org


> Carsten Zandecki wrote:
> 
>    Hi,
> 
> > is StyleGetCharacterSet() implemented in wxSTC yet ? Tried it but it 
> > returns undef.
> 
>    If it weren't implemented you would get a method not found error.
> 
> > Also i have trouble with StyleSetCharacterSet:
> > $self->{Editor}->StyleSetCharacterSet->(wxSTC_STYLE_DEFAULT,wxSTC_CHARSET_ANSI);
> >  
> 
>    Try ->StyleSetCharacterSet(wxSTC_STYLE_DEFAULT,wxSTC_CHARSET_ANSI);
> 
> > returns
> > Uncaught exception from user code:
> > Usage: Wx::StyledTextCtrl::StyleSetCharacterSet(THIS, style, 
> > characterSet) at
> > ped/scintilla.pm line 138. at C:/Perl/site/lib/Wx/App.pm line 36
> > Wx::App::new('PED') called at t0.pl line 708
> > ----
> > Another problem with wxSTC is, that german umlauts will be displayed as 
> > 2byte or 3byte(?) characters. the char and a control char is displayed 
> > which happens to all characters > 127. Is this a Scintilla problem ? 
> > Maybe a CharacterSet Problem or a Codepage problem ?
> 
>    Are those wrongly displayed umlauts characters you typed or
> they come from a file/string?  In the former case it might be a
> Scintilla/wxSTC problem, in the latter case it might just be an
> encoding problem.
> 
> > ----
> > Furthermore i have still problems with german umlauts. wxFileDialog 
> > returns a filename with
> > german umlauts correctly - i guess. But opening a file with the returned 
> > filename (including german umlauts) returns undef and doesn't open the 
> > file...
> > 
> > Tested on WinXP, ActivePerl 5.8.7 and wxPerl 0.82
> 
>    Is this the ANSi or Unicode wxPerl?  Try Wx::wxUNICODE() if you
> are not sure.
> 
> Regards,
> Mattia
> 
> 


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

Reply via email to