Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Redhat Enterprise and PHPs MBSTRING



> Has anyone else had any problems using 
> Redhat Linux Enterprise with PHP and MBString? 

I'm currently working on a web page database display problem, but I
think 
it's almost licked. (Browser is not detecting the character set
correctly). 

It looks as if the secret is to avoid translation of character set where
possible;  
if it's unavoidable, then you need to turn on output buffering and also
use the multibyte output handler. It seems that to do this requires 
setting some or all of the following in PHP.INI or .HTACCESS : 

output_buffering On
output_handler mb_output_handler
mbstring language Japanese
mbstring encoding_translation 1

Some URLs: 

http://nx.eth.jp/hiki.cgi?PHP-i18n-Usage 
http://nx.eth.jp/hiki.cgi?PHP-i18n-Note  
http://www.php.net/manual/ja/function.mb-internal-encoding.php 
http://www.php.net/manual/ja/ref.mbstring.php 
(rather confusing having mb_something as well as mbstring.something) 

Let us know what you learn / what the problem was. 
This stuff is poorly documented. 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links