[PHP] Uploading files in Russian? (urgent)

2002-03-04 Thread Lauri Vain

Hello there, 

I'm having quite a few problems at the moment. The story is as follows. 

The designer created 14 HTML files. That includes two language versions
(so basically there are only 7 different files... the rest are same
files in a different language). One language is English, the second one
is Russian. I have to embed some PHP code so all the submitted data
would go into the database. 

I have never dealt Russian webpages before. My problem is that the
designer uploaded the files and the texts were already in Russian
before. Now, I did my modifications and uploaded the file. The forms
worked like charm, but the text looked completely different from what
there was before (I don't speak Russian myself, but one could easily see
that it wasn't the original text any more). 

Then I did another test. I downloaded a file, where the text was in
Russian, from the server and uploaded the *exactly* same file again. 

I stood there astonished -- the text changed again. This time, I made no
modifications, whatsoever. 

Does anybody have any ideas? Do I need to install Russian language packs
on my computer? Do I need to pass a header in PHP, which would define
the charset to use? Anything else? Which encoding to use (currently:
meta http-equiv=Content-Type content=text/html; charset=koi8-r)? 

Please let me know of your thoughts. 

Thanks,
Lauri
--
Tharapita Creations
[dynamic web applications]
[EMAIL PROTECTED]
Mobile: +372 53 410 610 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Uploading files in Russian? (urgent)

2002-03-04 Thread Maxim Derkachev

Hello Lauri,

Monday, March 04, 2002, 7:25:27 PM, you wrote:


LV Does anybody have any ideas? Do I need to install Russian language packs
LV on my computer? Do I need to pass a header in PHP, which would define
LV the charset to use? Anything else? Which encoding to use (currently:
LV meta http-equiv=Content-Type content=text/html; charset=koi8-r)? 

It seems to me that the server you upload the files to uses the
mod_charset apache module (was initially designed to show documents in
several different cyrillic codepages, using one codebase with one
predefined charset). It recodes form content and fileuploads too.
I guess the module is misconfigured, so it recodes the files
incorrectly. You should discuss the issue with the server
administrator.
For additional info look at http://apache.lexa.ru/english/ for an
english homepage of the mod_charset.




-- 
Best regards,
Maxim Derkachev mailto:[EMAIL PROTECTED]
System administrator  programmer,
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
www.books.ru, www.symbol.ru 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php