[poedit-users] Problem with utf-8 translation

[email protected]
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
------- Forwarded message follows -------
From:	Self <[email protected]>
To:	[email protected]
Subject:	Problem with utf-8 translation
Date sent:	Sat, 17 Jun 2006 12:18:36 +0200

Hello,
I'm using poedit 1.3.4 with win2000 sp2.
My source code is in "C" and each string is coded with iso-8859-1.
I have to get an UTF-8 translation so my setting in poedit are:


POT-Creation-Date: 
PO-Revision-Date: 2006-06-17 11:31+0100
Last-Translator: Andrea Toscan <[email protected]>
Language-Team: Bluewind <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Poedit-SourceCharset: iso-8859-1
X-Poedit-KeywordsList: __;_
X-Poedit-Basepath: .
X-Poedit-SearchPath-0: ../../src

The translation goes ok but I have a problem in the archive.
When poedit finds in the source code a string like this "Unità di misura" it 
builds this .po file:

...
...
#: ../../src/menu.c:5466
msgid "Unità di misura "
msgstr "Unidad de medida"
...
...
...

"Unità" has been read as "UnitÃ" that is, may be, the utf-8 transaltion of 
"Unità". But in the settings I have set source code characters as iso-8859-1.

I think that .po would be as:

#: ../../src/menu.c:5466
msgid "Unità di misura "
msgstr "Unidad de medida"

and not as:

#: ../../src/menu.c:5466
msgid "Unità di misura "
msgstr "Unidad de medida"

Have you got any idea?
I need to build the UTF-8 translation because my software codifies the 
translation in this way.

I have tryied to attach the .po file and src as zip but they are blocked.
If you need this files let me know how to send.

Thank you for your help
Regards


 

Ing. Andrea Toscan

BlueWind Embedded Systems Design
Borgo Pieve 5/c
I-31033 Castelfranco Veneto (TV)
tel: 0423 723431
fax: 0423 744738
mailto:[email protected]
http:www.bluewind.it


Attachments: C:\Clienti\Euronda\E9\work\sw\E9_type_C\sw\example.zip 
------- End of forwarded message -------Ing. Andrea Toscan

 BlueWind Embedded Systems Design
 Borgo Pieve 5/c
 I-31033 Castelfranco Veneto (TV)
 tel: 0423 723431
 fax: 0423 744738
 mailto:[email protected]
 http:www.bluewind.it
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.