Re: Encoding on Ubuntu

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

Oleg Deribas wrote:
> Hello,
> 
> Werner F. Bruhin said the following on 25.09.2007 13:31:
> 
>> 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'))
> 
> Have you tried to replace it with this:
> 
> _(u'Vinoté printable tags')
Yeap, that fixes it.

Anyone having a script out there to change all (for a file and/or 
folder) the "_('" to "_(u'" and one should probably also change all the 
# -*- coding: iso-8859-1 -*-# to
# -*- coding: utf-8 -*-# and probably also all the normal (non gettext) 
strings too.

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/
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.