Re: [poedit-users] Problems with special characters
On Wed, 2009-01-14 at 13:55 +0100, Johannes Mario Ringheim wrote:
> I'm translating a webpage to norwegian which contains special
> characters. Everything seems to be fine in poedit, but when the webpage
> is displayed in that language special characters are broken.
>
> Inspecting the .mo file with gedit, I find for example that "å" has
> turned into "Ã¥", and any other special character scrambled likewise.
They're not "scrambled", they are encoded using UTF-8 -- which as you
admit below is exactly what you asked Poedit to do.
> However, in poedit they all display fine.
Yet you somehow concluded the problem is in Poedit, even though the only
misbehaving program is your web app.
> I've checked that charset is set to utf-8, and the sourcefiles are also
> utf-8. I've also tried to set encoding to iso-8859-1, which makes the
> characters in the .mo files correct,
No, it doesn't make them "correct", it makes them encoded using a
different encoding. You do understand what an encoding is, right?
Because encodings apparently matter to your web app, so it's kind of
important to understand them and not, say, try (and as I suspect, mix)
different encodings at random.
> Any ideas as to where I might begin researching this problem?
In the web app you're having problems with.
> The problem probably is in poedit, right?
No, it almost certainly is not.
Regards,
Vaclav
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Poedit-users mailing list
Poedit-users@...
https://lists.sourceforge.net/lists/listinfo/poedit-users