https://www.proz.com/forum/general_technical_issues/196775-unicode_and_po_files-page2.html

Pages in topic:   < [1 2]
Unicode and .po files
Thread poster: Russell Jones
tazosmr
tazosmr
Local time: 04:05
transalte po file correctly Mar 26, 2013

i had the following header in original, english .po file:

"Content-Type: text/plain; charset=ISO-8859-1\n"



then i have opened that original .po file with texteditor (notepad++) and changed to the following:

"Content-Type: text/plain; charset=utf-8\n"

also, i have added the following line below them, to tell the program, that "iso-8859-1" is the source charset :
"X-Poedit-SourceCharset: iso-8859-1\n"

... See more
i had the following header in original, english .po file:

"Content-Type: text/plain; charset=ISO-8859-1\n"



then i have opened that original .po file with texteditor (notepad++) and changed to the following:

"Content-Type: text/plain; charset=utf-8\n"

also, i have added the following line below them, to tell the program, that "iso-8859-1" is the source charset :
"X-Poedit-SourceCharset: iso-8859-1\n"

after that, change the file itselft into UTF-8 encoding format(no BOM): Encoding> UTF-8 (no BOM) and save.
after that, i opened it with POEDIT, and started translation with UTF8 characters and saved the new language .po file successfuly (example: de_DE).
so, now i can translate and use unicode UTF8 language characters in .po files for my wordpress plugin.
Collapse


 
Pages in topic:   < [1 2]


To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Laureana Pavon[Call to this topic]

You can also contact site staff by submitting a support request »

Unicode and .po files






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »