[PHP-users 35323] Re: ある一定範囲で最初に出現した文字列にのみ*マーク付加

Manabu Masuzawa gaku-mszw520 @ themis.ocn.ne.jp
2010年 8月 5日 (木) 18:45:12 JST


増澤です。お世話になります。

OS:Windows XP SP3
PHP 5.3.3
スクリプトの漢字コード:S-JIS

php.iniにつきましては、Web情報を参考にしながら、
下記のように設定しました。
[mbstring]
; language for internal character representation.
; http://php.net/mbstring.language
mbstring.language = Japanese

; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; http://php.net/mbstring.internal-encoding
mbstring.internal_encoding = EUC-JP

; http input encoding.
; http://php.net/mbstring.http-input
mbstring.http_input = pass

; http output encoding. mb_output_handler must be
; registered as output buffer to function
; http://php.net/mbstring.http-output
mbstring.http_output = pass

; enable automatic encoding translation according 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.
; http://php.net/mbstring.encoding-translation
mbstring.encoding_translation = Off

; automatic encoding detection order.
; auto means
; http://php.net/mbstring.detect-order
mbstring.detect_order = SJIS,EUC-JP,JIS,UTF-8,ASCII

; substitute_character used when character cannot be converted
; one from another
; http://php.net/mbstring.substitute-character
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
; http://php.net/mbstring.func-overload
mbstring.func_overload = 0

; enable strict encoding detection.
mbstring.strict_detection = Off

; This directive specifies the regex pattern of content types for which 
mb_output_handler()
; is activated.
; Default: 
mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=

; Allows to set script encoding. Only affects if PHP is compiled 
with --enable-zend-multibyte
; Default: ""
;mbstring.script_encoding=

よろしくお願いいたします。 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5342 (20100805) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





PHP-users メーリングリストの案内