Problem with national letters

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

grzybi
Posts: 326
Joined: Tue Aug 05, 2008 5:31 pm
Location: Lodz / Poland

Problem with national letters

Postby grzybi » Sat Aug 08, 2009 12:42 pm

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.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Sat Aug 08, 2009 12:52 pm

This problem does not occur on character page, only on player page. We're in process of unifying encoding of all languages.
(SRVPRC)
Image
grzybi
Posts: 326
Joined: Tue Aug 05, 2008 5:31 pm
Location: Lodz / Poland

Postby grzybi » Sat Aug 08, 2009 2:28 pm

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?
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Sat Aug 08, 2009 3:37 pm

Yes, it depends on player/character language.
(SRVPRC)

Image
grzybi
Posts: 326
Joined: Tue Aug 05, 2008 5:31 pm
Location: Lodz / Poland

Postby grzybi » Sat Aug 08, 2009 5:46 pm

Player or character? What if player is English (I suppose ISO 8859-1 then) and one of his character is Russian or Chinese?
User avatar
Piscator
Administrator Emeritus
Posts: 6843
Joined: Sun Jul 02, 2006 4:06 pm
Location: Known Space

Postby Piscator » Sat Aug 08, 2009 5:54 pm

It switches. Not always at the right time though.
Pretty in pink.
grzybi
Posts: 326
Joined: Tue Aug 05, 2008 5:31 pm
Location: Lodz / Poland

Postby grzybi » Sat Aug 08, 2009 6:32 pm

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?
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Postby SekoETC » Sat Aug 08, 2009 6:42 pm

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.
Not-so-sad panda

Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest