Page 1 of 1

Problem with national letters

Posted: Sat Aug 08, 2009 12:42 pm
by grzybi
I logged to cantr today and I see that there is a problem with national letters on characters page (I play in Polish). That letters are displayed incorrectly.

I checked source code of displayed page and I saw bad meta tag in head section:

Code: Select all

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=">


charset parameter is without value. I think that causes the problem.

Posted: Sat Aug 08, 2009 12:52 pm
by marol
This problem does not occur on character page, only on player page. We're in process of unifying encoding of all languages.

Posted: Sat Aug 08, 2009 2:28 pm
by grzybi
characters page, player page.. hmmm... I mean, page where is a list of your all characters. Page which is displayed after logging in.

Now, I see something has changed.

Code: Select all

charset=latin2


latin2? You mean ISO 8859-2? Does it depend on player's language?

Posted: Sat Aug 08, 2009 3:37 pm
by marol
Yes, it depends on player/character language.

Posted: Sat Aug 08, 2009 5:46 pm
by grzybi
Player or character? What if player is English (I suppose ISO 8859-1 then) and one of his character is Russian or Chinese?

Posted: Sat Aug 08, 2009 5:54 pm
by Piscator
It switches. Not always at the right time though.

Posted: Sat Aug 08, 2009 6:32 pm
by grzybi
OK, what if player is English and has characters English and Russian, for example? Which encoding will be used on main page (page where are names of his characters)?

Why not use UTF-8 everywhere?

Posted: Sat Aug 08, 2009 6:42 pm
by SekoETC
The point is to convert all texts to the same encoding, but currently texts are saved in different encodings so if you tried to display them all with one set encoding, a lot of things would be displayed wrong.

If a player has their account set to English and has a Russian character, the browser might detect the correct encoding when the character is viewed or then it might not. Also if an English character meets some Russian characters, you might have to choose the encoding manually. But once all texts get converted, there will be no more display problems. This is just a transitional phase.