Re: Encoding on Ubuntu

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
Hi,

ianaré sévi wrote:
> I have found there are problems, not just in linux, with having
> non-ascii characters encoded in utf-8 as translation strings. In my
> case I used all ascii and used gettext to add any accents. But then
> again I was already using it for translations.
I worked around the problem by just removing the offending characters 
and using gettext to get the correct thing.
> 
> Anyway, as far as your problem, you do have the encoding set at the
> top of your file correct?
Yeap.
> 
> However, there are problems with boa in linux with utf-8. Sometimes it
> will complain about error messages or print statements. The same code
> run from command line is fine, as is the same code in windows.
Good to know.

Finding all kind of other little (and bigger things).
- I call maximize on the frame and it works on windows but not gtk2
- some of the sizers don't seem to work under gkt2, at least they don't 
work the same way then under windows (but you know about this one already).
- I am loading dummy notebook pages initially and then when user clicks 
on them I load the real one.  This is done to optimize/speed up initial 
loading.  On gtk2 this crashes, seen something about no event being 
fired when deleting a nb page - will have to look into this.

Will have to setup cvs server before going much further as otherwise I 
will end up with two versions instead of one which works on both :(.

Werner
-
  Never
> had the chance to investigate further ... sorry
> 
> 2007/9/25, Werner F. Bruhin <[email protected]>:
>> Me again,
>>
>> Do I have to do some special steps moving Python source from my Windows
>> box to Ubuntu?
>>
>> I am asking as I get encoding errors when I try to run my application
>> from within Boa, it complains that 'utf-8' can't decode:
>>         self.MainMenu.SetLabel(wxID_TWCBFPRINTINGLABELVINOTETAGS,
>> _('Vinoté printable tags'))
>>
>> If I copy/paste this string into the shell and print the variable it
>> shows correctly.
>>
>> Werner
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Boa-constructor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boa-constructor-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.