https://issues.apache.org/bugzilla/show_bug.cgi?id=50562
lu ye <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #4 from lu ye <[email protected]> 2011-01-10 02:37:13 EST --- I have replaced that CGI with a C++ .exe to test the the environment vars set by apache, with URI "/aaa你好bbb", the exe surely get a PATH_INFO with "/aaa\x3f\x3f\x3f\xa3\xa4\x3f". ascii character is 1 byte so the environ vars are not ucs-2. ps: I used both getenv and windows api GetEnvironmentVariable and the result are the same. The .exe is compiled without unicode support with VS. (In reply to comment #2) > Wrong; Path info was the unicode value from your URI path. > > Apache httpd didn't get this wrong, your CGI got it wrong and doesn't > correctly > handle non-ASCII input from the environment. If your CGI environment's > codepage is compatible with the characters transmitted, windows should be > translating this itself into the appropriate MBCS. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
