Having trouble with mb_convert_encoding()
Posted: Tue May 06, 2003 4:07 am
Hello everyone. It seems that in my program mb_convert_encoding does not work. I am trying to change the variable type into EUC-JP and I am using
mb_convert_encoding($variable,"EUC-JP");
but when i use mb_detect_encoding($variable) to check if the type is changed, i see that it is not changed.
Is there a need to change php.ini file settings to be able to use mb_convert_encoding?
By the way, the php was configured in such a way that mbstr-enc-trans, mbstring, and mbregex are enabled.
My environment uses the following:
OS :RedHat Linux 7.3 2.96-110
Apache Ver :1.3.27
PHP Ver :4.2.2
Postage SQL Ver :7.2.3
mb_convert_encoding($variable,"EUC-JP");
but when i use mb_detect_encoding($variable) to check if the type is changed, i see that it is not changed.
Is there a need to change php.ini file settings to be able to use mb_convert_encoding?
By the way, the php was configured in such a way that mbstr-enc-trans, mbstring, and mbregex are enabled.
My environment uses the following:
OS :RedHat Linux 7.3 2.96-110
Apache Ver :1.3.27
PHP Ver :4.2.2
Postage SQL Ver :7.2.3