Hungary chars encoding

Permalink
Hello,

I need to write hungary chars in my website like "ő", but all these chars are replaced by a "?".

These chars are wrote in a content block.

My pages and my MySQL tables are utf-8 encoded.

Thanks

moosh
 
SVijay replied on at Permalink Reply
SVijay
Hi,

For inserting such symbols, you have to use ASCII code. visit the given links for ASCII codes

http://www.ascii-code.com/

http://www.asciitable.com/
Remo replied on at Permalink Reply
Remo
I doubt that's anything to do with ASCII codes. A system which really uses UTF-8 can handle such characters without any problems.

Did you check if your page is properly served in utf-8 by using a tool like firebug?

Can you see the character in the database? by using phpMyAdmin.

Does it only happen when you're working with the content block? You've heard about the "raw" property in TinyMCE?
moosh replied on at Permalink Reply
moosh
Thanks for your answers.

<meta content="text/html; charset=UTF-8" http-equiv="content-type"> is loaded properly.

Character in database is encoded "?" too.

Problem happen too when i set name of a page wich include this character.
Remo replied on at Permalink Reply
Remo
meta tag isn't reliable, there are different places where you can specify UTF-8, please check the http headers.
moosh replied on at Permalink Reply
moosh
header request response :

Date Mon, 22 Nov 2010 13:16:19 GMT
Server Apache
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Keep-Alive timeout=5
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html; charset=UTF-8
Remo replied on at Permalink Reply
Remo
I'm running out of ideas, this works just fine on all of my servers. I even set up a new site this morning, utf8_general and standard c5 theme and everything works fine, I can save all kinds of fancy characters, including yours, without any problems.

What happens if you update btContentLocal and override a character with the one you want. Can you see the character afterwards on your page?

I'm just trying to reduce the number of potential sources for this issue. It's definitely not a general c5 issue for sure but there's not much beside utf-8 in the database and utf-8 in the page header..
moosh replied on at Permalink Reply
moosh
Problem solved !

It was the interclassement of database wich was not utf-8
moosh replied on at Permalink Reply
moosh
Thanks for your help Remo :-p