php-i18n Digest 4 Jan 2003 20:58:55 -0000 Issue 139
Topics (messages 379 through 381):
Re: calculating line length of Japanese string
379 by: Jean-Christian Imbeault
380 by: Jean-Christian Imbeault
Mb_output_handler and Shift-JIS
381 by: David Powers
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Found the answer. Using mb_strwidth() does what I need. Great!
Jc
--- End Message ---
--- Begin Message ---
Found the answer. Using mb_strwidth() does what I need. Great!
Jc
--- End Message ---
--- Begin Message ---
I upgraded to PHP 4.3.0 yesterday, and have gone through hell trying to
get things sorted out. I hope everything is now back to normal, but
wonder if there's an error in the PHP manual regarding the php.ini
setting for SJIS users.
I used the configuration show in example 3 on
http://www.php.net/manual/en/ref.mbstring.php, but that turned all my
Japanese output, even in static html into garbage. Eventually, I got
things back to normal by commenting out the line
output_handler = mb_output_handler
My local machine is Windows 2000 (English version, but with Japanese as
default system locale); and my remote server is Linux Red Hat 6.2
(English version), runnning PHP 4.3.0 on Apache 1.3.22.
Is there anywhere that explains the use of mbstring in clear terms -
preferably in English, but I don't mind reading it in Japanese if
there's better material there?
David Powers
--- End Message ---