special character issues:(

Samir képe

Dear Hungarian Drupal Community

Sorry for messaging in English (most tanulok Magyarul)

I am very new to web design and trying to develop a web site in Hungarian. I have the following issue:

When I post something on my website, Ő and Ű appears as ? ?. I tried different solution methods which I borrowed from forum of drupal.org, but none of them worked:( Maybe they were not the appropriate solution methods or I could not manage.

For instance: I checked my cpanel and noticed that the collation is latin swedish and I manually changed collation of folders and subfolders to UTF Hungarian. But still I don't have any positive result.

I kindly ask your support

Thanks in advance

samir

Drupal verzió: 
Den képe

Hi Samir,

you have to change the collation of the database, not the files. Drupal files are utf-8 encoded so you not have to touch them.

(You should go to the #drupal.hu irc channel, then I (or other drupalistas) can help you there.)

0
0
Samir képe

Hi Den

I changed the collation of database as well.

ok

szia

0
0
Samir képe

Sorry, could you drop me a line about irc channel? I am messed up

I mean the link to the channel might be very useful

Thanks in advance

samir

0
0
Den képe

On the freenode irc servers /join #drupal.hu.

0
0
Boobaa képe

Please answer with the URL of your site, as there are quite a bunch of possible reasons for this. Most likely it's a character set issue, without having a glimpse on your particular site, since most browsers display ? instead of the actual character if it cannot be found the requested character set. Character set of any page on the web is determined by 3 factors, in these order:

1. As first rule of thumb, Apache's (the most used webserver out there) AddDefaultCharset directive decides this. If this is set (eg. is not "Off"), then nothing (as described below) can override this. In other words the best approach is to set it to "Off", which means that the character set is _not_ decided by the webserver itself.

2. The second factor in this is the "Content-Type" HTTP header. Drupal content is sent out with "text/html; charset=utf-8", because Drupal works with UTF-8 all over the place. If this HTTP header is sent out, then the HTML meta tag is disregarded.

3. The last factor is the HTML meta tag in the HTML header. (Most) Drupal content is sent out with <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> which is determined by the core drupal_get_html_head() function.

There are other possibilities that may trigger your issue, YMMV. If you can answer with the URL of your site, we can tell you if it's any of the aforementioned reasons.

0
0
Samir képe

http://www.dialogusplatform.hu/

I am using drupal 6.2, JD Purity template and cpanel.

Thanks in advance
samir

0
0
Boobaa képe

Both the HTTP and HTML headers seem to be fine, so this issue of yours must have some other reason(s). Anyway it's quite weird that some accentuated letters ARE displayed correctly. If your site has been migrated (copied over) from a previous place, it's possible that the SQL dump was "corrupted" in a way that disallowed normal, acceptable importing; if that's the case then you're on your own to clean it up somehow. :S (I have experineced this issue on some very old Debian servers myself: the defaults of mysqldump were that so bad that there was no way to recover all the data, esp. the accentuated letters from the dump; in other words: even using mysqldump caused information loss for me. But this happened at least five years ago; hopefully nowaday's Debian got a bit better.)

0
0
aries képe

Dear Samir,
As I see, the problem has been solved. Could you write down the solution here for future reference?

0
0