Edgewall Software
Modify

Ticket #66 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Can not change charset from utf8 to iso-8859-1

Reported by: jj.gavlvez@… Owned by: anonymous
Priority: major Milestone: 0.9.2
Component: PO and MO Files Version: 0.9.1
Keywords: Cc:

Description

while tying to use bable in pylons, using setuptools, to make translations from en to es I recieced errors when trying to change the charset from utf8 to sio-8859-1. Below shows what I was doing:

1) I set the charset in the [extract_messages] section of the setup.cfg, the pot file says its charset is iso-8859-1
2) I ran python setup.py extract_messages,
3) setup.py init_catalog -l es
4) edited the po file to include my translations which contains latin characters with accents. BTW the po file says the charset is utf8
5) setup.py compile_catalog utf8 error can't decode bytes at popsition 25-26 (caused by my accent marks)

Is looks like bable is not using the correct charset even though it has been set correctly in the pot file

Jose

Attachments

Change History

comment:1 Changed 4 years ago by jj.galvez@…

  • Owner changed from cmlenz to anonymous

sorry I input my email address incorrectly the first time Jose jj.galvez@…

comment:2 Changed 4 years ago by pjenvey

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 1.0 to 0.9.2

fixed in r322 and on the branch in r324

thanks

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.