Mailing List Archive


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

Re: [tlug] OT-Japanese in PHP



From: Mark Sargent <powderkeg@example.com> on Date: Fri, 20 May 2005 16:45:18 +0900
> 
> ok, I've taken a look at php.ini and found this,
> 

Here are some typical settings for php.ini for doing ja:

output_handler =mb_output_handler;

[mbstring]
;***;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; For Japanese handling ;;
default_charset = Shift_JIS;
mbstring.http_input = auto;
mbstring.http_output = SJIS;
mbstring.internal_encoding = EUC-JP;
mbstring.encoding_translation = On;
mbstring.script_encoding = EUC-JP;
mbstring.language = Japanese;
mbstring.substitute_character = none;
mbstring.detect_order = auto;


> 
> I didn't install any extensions at install, so, am I looking at a 
> recompile to get Japanese in php..? Sorry for what may seem like mundane 
> Qs. Cheers.


You can tell what's been compiled in by running a php script
containing this:

<?phpinfo();?>


-dave


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links