Ticket #66 (closed defect: fixed)
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

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