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
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
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?
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?
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.
<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.
meta tag isn't reliable, there are different places where you can specify UTF-8, please check the http headers.
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
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
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..
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..
Problem solved !
It was the interclassement of database wich was not utf-8
It was the interclassement of database wich was not utf-8
Thanks for your help Remo :-p
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/