Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread ejirkae
This is that problem: http://sgo.happyforever.com/test.php (http://sgo.happyforever.com/test.php) Try it please, thanks. Původní zpráva Od: ejir...@seznam.cz Předmět: [us...@httpd] Wrong charset convert Datum: 01.7.2009 00:03:06

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread André Warnier
ejir...@seznam.cz wrote: This is that problem: http://sgo.happyforever.com/test.php (http://sgo.happyforever.com/test.php) Try it please, thanks. Původní zpráva Od: ejir...@seznam.cz Předmět: [us...@httpd] Wrong charset convert Datum: 01.7.2009 00:03:06

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread Jiří Eichler
. Původní zpráva Od: ejir...@seznam.cz Předmět: [us...@httpd] Wrong charset convert Datum: 01.7.2009 00:03:06 - I have installed Apache 2.2.11 with PHP 5.2.8 on Windows XP SP3. Windows are using Windows-1250 charset (Czech localization). I

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread André Warnier
Jiří Eichler wrote: Thank you André for perfect explanation. Web browser converts 'ž' to %C5%BE, which are two bytes, Which web browser ? And if it is IE, then is the send URLs as UTF-8 box checked in Internet options ? And what happens if you uncheck it ? (Will read the rest of your post

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread Jiří Eichler
All of them, Opera, IE, and even http://validator.w3.org, it sends: GET /check?uri=http%3A%2F%2Fsgo.happyforever.com%2Fslo%C5%BEka.pngcharset=%28detect+automatically%29doctype=Inlinegroup=0 HTTP/1.1 IE setting send URLs as UTF-8 has no effect André Warnier wrote: Jiří Eichler wrote: Thank

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread Jiří Eichler
sorry, validator sends of course: GET /slo%C5%BEka.png HTTP/1.1 I select wrong TCP session, sorry :) All of them, Opera, IE, and even http://validator.w3.org, it sends: GET /check?uri=http%3A%2F%2Fsgo.happyforever.com%2Fslo%C5%BEka.pngcharset=%28detect+automatically%29doctype=Inlinegroup=0

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread Jiří Eichler
another correction, IE setting HAS effect, but it changes nothing, still not working. Sorry for confusing. sorry, validator sends of course: GET /slo%C5%BEka.png HTTP/1.1 I select wrong TCP session, sorry :) All of them, Opera, IE, and even http://validator.w3.org, it sends: GET

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread André Warnier
Jiří Eichler wrote: ... Hi. I do not know the answer precisely either. But I know enough to tell you that in such matters, you must be /extremely/ careful in interpreting what is really going on, at each level. Just as a stupid example : when you look at a log file, you must know : - has the

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread Jiří Eichler
I understand you very well. I can try to look at Apache source codes and recompile it with some changes. Otherwise, thank you for your time. I'm trying to resolve this for three days :-D Have a nice day, Jiri Eichler André Warnier wrote: Jiří Eichler wrote: ... Hi. I do not know the answer

Re: [us...@httpd] Wrong charset convert

2009-07-01 Thread André Warnier
Jiří Eichler wrote: .. I just checked your on-line example. I used Firefox 3.1, with the HttpFox add-on (recommended). This shows exactly what the browser is sending to the server. In this case, the form does a POST, in the multipart/form-data encoding. I sent a small test file, which I created

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread Jiří Eichler
Man you are incredible. Thank you. And I'm idiot because I searched for mistake where it wasn't :) I had just to use: $target_path = utf8_decode($target_path); Maybe it will be also possible change somehow php.ini, I'm going to look at it. I didn't think that it is problem with php, it ran on

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread André Warnier
Jiří Eichler wrote: Man you are incredible. I had to leave that part.. ... (I removed the part about the idiot however..) ... I didn't think that it is problem with php, it ran on Linux well. It runs under Linux well, probably /only/ because the locale of the process under which Apache + PHP

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread Jiří Eichler
I didn't program MediaWiki, but on Wikipedia it seems to be working well. I just realize that we haven't solved that problem with charset, I have just changed charset sent by php ... you're right with double encoding to utf-8, Apache/php think that it is something else and encode it once more.

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread André Warnier
Jiří Eichler wrote: I didn't program MediaWiki, but on Wikipedia it seems to be working well. I just realize that we haven't solved that problem with charset, I have just changed charset sent by php ... you're right with double encoding to utf-8, Apache/php think that it is something else and

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread Jiří Eichler
Ok, AddDefaultCharset off added to httpd.conf, charset spec in header disappeared in both cases, It must be enough for this time. As regards file uploads, I really want to use utf-8 for multilingual support and I believe that it is technically possible even on Windows. It just needs to

Re: [us...@httpd] Wrong charset convert SOLVED

2009-07-01 Thread William A. Rowe, Jr.
Jiří Eichler wrote: Ok, AddDefaultCharset off added to httpd.conf, charset spec in header disappeared in both cases, It must be enough for this time. As regards file uploads, I really want to use utf-8 for multilingual support and I believe that it is technically possible even on Windows. It

[us...@httpd] Wrong charset convert

2009-06-30 Thread ejirkae
I have installed Apache 2.2.11 with PHP 5.2.8 on Windows XP SP3. Windows are using Windows-1250 charset (Czech localization). I want to install MediaWiki software which uses utf-8 charset. When I upload a file with non-english characters in its name, then its name is saved in utf-8 format. When I