Re: [Boa Constr] Problems displaying Romanian characters
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2006-05-26 12:04:57
|
Hi Endre, Endre Szabo wrote: > Hello > > My app has the GUI with Romanian language. On Win98, > some special letters arent displayed. On win2000 and > xp, they are. > Boa itself behaves in same way. I do not have a win98 machine and have not had one for many years, but as far as I know, you need to have unicows.dll installed in your windows\system directory for win98 to support unicode. Please google for this file to find a place to download it. > > I tried the following: > - set all possible locale settings in windows to > Romanian > - in the first line of each form's code in my app I > put > # -*- coding: iso-8859-2 -*-# > - set controls font to various ones supporting Central > European character set > - called SetFont(wx.Font(...) for controls with bot > ISO and CP style encoding parameter. > In the last case, using ISO style parameter, got a > message -- there is no font supporting this encoding, > altrough localizable fonts are installed. > > All above havent solve the problem. > > Please help me solve it. > > Generalizing the question: is there possible to make > an app wich displays charscters properly independent > of host machine's settings ? If so, how ? See above. > > Other experience: > On the font dialog there's a 'Script' combo set to > Western, Changing this setting has no effect, no extra > code (encoding parameter?) is generated and the > setting is not retained. What's the problem? Which font dialog are you refering to? Cheers, Riaan. |