David Emery wrote:

>

> There's more, and this is the biggie...
> 
> '--enable-mbstring-enc-trans' should be '--enable-mbstr-enc-trans'


That fixed most of my problems! Thanks!

Now I just have a question concerning the use of "internal encoding".

When I receive $test it is in EUC-JP (because I have internal encoding 
set to EUC-JP?). If I echo $test back to the browser it comes out as 
SJIS. This is all good.

But if I do this:

echo(mb_convert_encoding($test, "SJIS","EUC-JP"));

I get mojibake. Why? $test is internally encoded in EUC-JP and I want to 
spew it back out as SJIS and I have mbstring.http_output set to SJIS, so 
why won't it print properly?

Thanks for all the help so far! Things seem to be working fine now. It's 
just my understanding that is a flaky I think. If I can get to 
understand the purpose/use of the settings and functions it will go a 
long way in preventing future errors on my part ^_^

Jc



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

Reply via email to