Russian charset bug? [Archive] - Quintessential Forum

PDA

View Full Version : Russian charset bug?


Sarttorius
01-26-2004, 08:55 AM
In a header we can see <meta http-equiv="Content-Type" content="text/html; charset=KOI8-R">, but real charset is cp1251.

Matt
01-26-2004, 03:56 PM
The translation pages we recieved were encoded using KOI8-R. If I set the page code to what you suggest its just nonsensical characters.

is cp1251 a more common code page for russian?

Sarttorius
01-27-2004, 01:47 PM
The translation pages we recieved were encoded using KOI8-R. If I set the page code to what you suggest its just nonsensical characters.

I see it right NOW. I think someone who sent have overlooked to warn, that the charset has exchanged. If I view page source in the Notepad it looks good - cp1251.

is cp1251 a more common code page for russian?


Yes. cp1251 is the Windows code page for russian, KOI8-R is for *nix by default. And if i've got Windows (most of the russians) i've got IE with checked auto-detecting russian character coding. Mozilla Firebird - the same :)

Just change only the header.

Lich
01-27-2004, 04:04 PM
I've reported this issue by email (Jan 24), but was sure it's only my browser's trouble. Sorry, it was irresponsibly:(
2Matt:
How can I find encoding of palin text file? I mean, my text editor has no functions for encoding change, so how I was able to change it?:)

2Sarttorius:
Спасибо, дружище!:)

Sarttorius
02-10-2004, 08:12 AM
It is not critical errors...
One of your PHP script that inserting space with spacer.gif has wrong name of variable:
<img SRC="/img/spacer.gif" WIDTH={WDITH} HEIGHT=1 ALT="">
In the bottom of page:
<table width="100%%" border="0" cellspacing="0" cellpadding="10">

Please, change russian charset in meta tag.

Thanks.

Matt
02-10-2004, 03:30 PM
I've reported this issue by email (Jan 24), but was sure it's only my browser's trouble. Sorry, it was irresponsibly:(
2Matt:
How can I find encoding of palin text file? I mean, my text editor has no functions for encoding change, so how I was able to change it?:)

2Sarttorius:
Спасибо, дружище!:)
try an editor called 'EditPlus'. When you open the file it will tell you on the status bar what encoding type it is in. You can also change the enc. type.

Matt
02-10-2004, 03:30 PM
It is not critical errors...
One of your PHP script that inserting space with spacer.gif has wrong name of variable:
<img SRC="/img/spacer.gif" WIDTH={WDITH} HEIGHT=1 ALT="">
In the bottom of page:
<table width="100%%" border="0" cellspacing="0" cellpadding="10">

Please, change russian charset in meta tag.

Thanks.
thx, i will track these down.

Lich
02-10-2004, 04:20 PM
Damn, hit me. I can't see any codepage information on status bar of EditPlus (v2.11).
But BrED (v2.1.8) tells me what all my .ini's are 1251-encoded. I've saved one of the pages on my harddrive, edited META to win1251 and it's OK, as Sarttorius says. Matt, are you sure about .ini's being heart of darkness?