Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: i18n pot file

Reply
Thread Tools

Re: i18n pot file

 
 
anabell
Guest
Posts: n/a
 
      10-22-2003
> The best CHARSET to use is UTF-8 but of course you have to enter UTF-8
data into the po file. You can write all languages in UTF-8.

But I received this error when I tried filling 'utf-8' :
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid

> The ENCODING should be 8bit in all cases


Is this the case with Chinese characters too? I thought its base64?


 
Reply With Quote
 
 
 
 
Martin v. =?iso-8859-15?q?L=F6wis?=
Guest
Posts: n/a
 
      10-23-2003
"anabell" <> writes:

> > The best CHARSET to use is UTF-8 but of course you have to enter UTF-8

> data into the po file. You can write all languages in UTF-8.
>
> But I received this error when I tried filling 'utf-8' :
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid


Then your PO file likely isn't in UTF-8. You need to find out what
encoding your computer uses. As a starting point, you would need to
tell us what operation system you use, and what "locale" you have
activated on that system

> > The ENCODING should be 8bit in all cases

>
> Is this the case with Chinese characters too? I thought its base64?


In the literal PO file, you don't use base64, you always use "plain"
bytes - independent of the language.

Regards,
Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adrian's Rojak Pot Silverstrand Front Page News 0 08-05-2005 02:47 PM
Power Point, Defining/Saving Design files (.pot) Orion Computer Support 2 11-11-2003 08:02 AM
RE: i18n pot file anabell Python 2 11-07-2003 02:38 PM
i18n pot file anabell Python 2 10-21-2003 11:53 AM
A watched pot never boils Jim Computer Support 6 10-02-2003 02:52 PM



Advertisments