At 13:48 +0900 02.7.10, Jean-Christian Imbeault wrote: >David Emery wrote: >>so here's a really simple test that works as it should on my system. Try >>it on yours and see if it's ok. > > >It works, but there is one problem. > >When I enter some japanese into the form your program says: > >"The encoding of variable test when it was received by the script was: SJIS >(should be EUC-JP when Japanese has been entered in the form field)" > >As you can see the encoding should have been EUC-JP but was in fact SJIS. >So the user input was not automatically translated into the internal >encoding ...
So it *doesn't* work on your system. Basically, if the input conversion doesn't happen then there is something wrong with your set-up. Maybe it's time to start over from scratch. Making sure you compile with both --enable-mbstring and --enable-mbstr-enc-trans might be the key. Or not. Anyway it's probably some small configuration error that you've overlooked along the way. >Even worse ... the user input become mojibake (garbage). The input become >?????> and because of the ">" ruins the html code! Yuck. I'd recommend forgetting about this particular error until you get past step one, which is getting the input conversion working - the source of both problems is surely the same. Gambatte, -dave -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php