Re: [poedit-users] Problems with special characters
Johannes Mario Ringheim <jri-gyXR7Lt7FVk/[email protected]> Wed, 14 Jan 2009 16:52:50 +0100
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Vaclav Slavik skreiv: >> 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. First and foremost I of course meant "Inspecting the .po file", not .mo. Second, any other utf-8 textfile displays special characters like "å" correctly in gedit (meaning "å" as "å", not "Ã¥"). When I write an "å" in poedit I expect it to be "å" in the utf-8 encoded po file. It appearently is not, so I get the idea that something is wrong. > 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. I've used utf-8 on the website, as mentioned in my reply to Olivier. Otherwise the site works fine and displays special characters correctly. Now, I tried to do the same process in Ubuntu 8.04 which resides on my other machine. I opened the po-file, did some minor edits and saved, and guess what? Gedit now displays special characters in po-file correctly. But guess again: Is the website displaying it correctly? Nope. This strengthens your theory that the problem is on my site. I will investigate this further, now that the poedit anomaly is sorted out (well, kinda, anyway). I'm not quite sure what to think of this, if someone does please cry out ;) -- Ringheims Auto - Fri musikk for bilstereo! http://ringheimsauto.org ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/poedit-users