Re: Encoding on Ubuntu
"ianaré sévi" <[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user |
|---|---|
| Message-ID | <[email protected]> |
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. Anyway, as far as your problem, you do have the encoding set at the top of your file correct? 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. 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 -- - ianaré sévi Le Homard de Vinci ------------------------------------------------------------------------- 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