mbstring configuration for php.ini file

"Ligaya Turmelle" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Organization Guam International Country Club
Message-ID <[email protected]>
I am trying to change the configuration of my php.ini file in my test server
to allow for Japanese and Korean characters.  I have NEVER worked with this
kind of file so I am very unsure what to do.  By using the example from the
php.net page on mbstring I have made some changes.  I however am not sure if
I did the right things. Right now I beleive that it is only set up to handle
Japanese.  Please can someone look over my work to make sure I haven't
screwed up too bad.  I am the only programmer in house so I have no one who
has experience working with Japanese and Korean characters to ask for help.
Oh and did I mention that this is my first project for an Asian market?  So
please be gentle.  I am going to write the pages in UTF-8 and allow the user
to input English, Japanese, or Korean.

Thanks,
Ligaya Turmelle


php.ini file:

[mbstring]
; language for internal character representation.
mbstring.language = Neutral ; Set default language to neutral(UTF-8)
(default)
mbstring.language = English
mbstring.language = Japanese
;mbstring.language = Korean  ;For Korean market later

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding = UTF-8

; http input encoding.
mbstring.http_input = pass
mbstring.http_input = auto
mbstring.http_input = UTF-8
mbstring.http_input = UTF-8, SJIS, EUC-JP

; http output encoding. mb_output_handler must be
; registered as output buffer to function
mbstring.http_output = pass
mbstring.http_output = UTF-8

; enable automatic encoding translation accoding to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
;       portable libs/applications.
mbstring.encoding_translation = On

; automatic encoding detection order.
; auto means
mbstring.detect_order = auto
mbstring.detect_order = ASCII, UTF-8, SJIS, EUC-JP, JIS

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.