SMF Support > SMF 2.0.x Support

Foreign characters don't show up

(1/2) > >>

Grasshopper:
We installed the forum on our website. On every part of the forum, the characters "Ű" and "Ő" don't show up, and there is a questionmark instead. I know they are not very usual but we use them in Hungary  :) The short form of these vowels "ö" and "ü" do appear correctly.
What can we do?

emanuele:
Welcome to sm.org Grasshopper.

These chars dosn't appear in the text of the posts or around in the language strings of the forum?

In the latter probably you installed SMF as utf8 and used a non-utf8 language pack or vice versa. ;)

MrPhil:
In the Language Packs, there is a Hungarian (ISO-8859-x encoding) and a Hungarian-utf8 (UTF-8 encoding). It sounds like you installed the Hungarian instead of Hungarian-utf8 on your UTF-8-configured system. If you did, simply remove the Hungarian language from the admin section, and download and install the Hungarian-utf8 language pack.

If this is not what happened, please give us the details. Is your forum configured for UTF-8? (if not, what?) Are pages displaying in UTF-8? Which Hungarian language pack did you install? Is your database set up as UTF-8? Was the forum UTF-8 from the beginning, or did you start out as Latin-x and have posts still in that encoding? (The database should have been converted to UTF-8 as part of the conversion). Are the accented letter errors in prompts and labels, posts and other database text, or both?

I'm a bit surprised that a language pack that's not in UTF-8 would work correctly for certain accented letters but not for others. All accented letters should fail if the encodings don't match. Could it be that the forum is set up for Latin-1 and the Hungarian language pack is Latin-2? Even then, I would expect certain characters to display incorrectly, but not as ?.

Grasshopper:
Hello, I am the wife :-). Hubby does not speak English, so I am trying to understand the relay all this. I will ask him more details in the evening, but he also has already asked for help in the Hungarian forum or Simple Machines before (they could not solve it either).

First he installed the forum with non-UTF8 because it said to mark it only if you want to use several languages.
Otherwise he is using latin2_hungarian_ci in MySql and in all other databases it works fine.

After a few suggestions from the Hungarian Simple Machines forum, he installed the forum wtih UTF8 as well, in various ways.
The forum does display "ö" and "ü", only the long accents don't show up. Also, for example under your username where it says "Hero" in Hungarian it is "hős" - also, the "ő" does not show up.

Here is the website in question:
hxxp:www.asztralfeny.hu/forum/index.php [nonactive]

emanuele:
Could you post a link to a page where the problem is evident?

Thanks! :)

Navigation

[0] Message Index

[#] Next page

Go to full version