On 3/12/07, Thomas Blanchin <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have a problem getting some httpd servers displaying russians characters.
I have different machines serving the same content (mounted via nfs).
- - All servers run httpd 2.0.52 and php 4.4.5.
- - The httpd and php configuration is synced over all servers.
Despite that, some of my servers display strange characters "?" and others...,
instead of cyrilic ones.

The HTTP header returned from a working and non-working server is the same :
 HTTP/1.1 200 OK
 Date: Mon, 12 Mar 2007 22:55:40 GMT
 Server: Apache/2.0.52 (Red Hat)
 Set-Cookie: 123Tlanguage=ru_RU
 Connection: close
 Content-Type: text/html; charset=utf-8

So : UTF-8...
But if I wget the page, I can see for instance :

Correct chars :
alert("а~_аОаЖаАаЛб~CаЙб~Aб~BаА, аВаВаЕаДаИб~BаЕ б~AаВаОаЙ аЛаОаГаИаНаПаА~L");

You know, I'm a Russian speaker and these are weird characters.


Weird chars :
alert("Пожалуйста, введите свой логин / пароль");

But these ones are right for "Please enter your password/login".


I'm not a russian speaker, but I can tell that the encoding is not the same.

I have also checked phpinfo() which looks quite similar on non/working server, 
and
the $LANG env variable is "en_US.UTF-8" on all servers.

I don't know where to look precisely (and sorry if this is more php than http).
Thank you for your help !

- --
Thomas Blanchin
System and Network Administrator

+34 607 359 855
[EMAIL PROTECTED]
GnuPG Key : D07C8A0F

Electronic Group Interactive
World Trade Center
Edificio Norte 4 Planta
08039 Barcelona, Spain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF9d5NEuBBMNB8ig8RAszeAJ4mm0e6nCUpX4k0dO8cXoKP9ZOANQCglST3
9wTkzTDv1pqbP/syA41WQvc=
=afl+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to