Re: [poedit-users] po files encoding?
Stavros Giannouris <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <20060113202914.78eb4076@gondolin> |
On Fri, 13 Jan 2006 16:18:29 +0100 Niki Kovacs <[email protected]> wrote: > Hi, > > I'm an Austrian writer living in Montpezat (South France), and a > Linux user (Slackware 10.2). > > I want to translate the Sweep Audio Editor into french. I gave it a > try (just to see how it works) first with my favourite text editor > (VIM), then with POEdit. There seems to be an encoding issue. When > there are french characters in the text, the character and all > subsequent text are lost. > > 1) after unzipping the source archive, po files in the po/ archive > are ASCII encoded. > > 2) My standard Slackware locale is 8859-1. > > 3) I tried to edit the fr.po file and save it in utf-8 encoding. I > can compile it OK, but when I run the program (from a terminal, to > see error messages), I get something like: Pango warning ** invalid > utf-8 string passed .... > > My Linux experience (5 years so far, all kinds of distros, pure > Slackware for the last two years) tells me that character and > encoding issues are the worst. > > Any suggestions? I'm clueless. > > Niki Kovacs > The first thing I'd check is if the file's encoding is the same as the one declared in "Content-Type: text/plain; charset=CHARSET\n" header. It is located at the top of the file (in the first 15 - 20 lines), so there is no way to miss it. :) Cheers -- Stavros Giannouris Jabber: stavrosg-/[email protected] "Hello. I'm a signature virus. Just copy me to your signature to help me spread" ____________________________________________________________________ http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ. http://www.freemail.gr - free email service for the Greek-speaking. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click