cvs: presentations /slides/intro mbstring.png mbstring.xml
| From: | Rasmus Lerdorf | Date: | Mon, 27 Oct 2003 08:07:02 +0000 |
| Subject: | cvs: presentations /slides/intro mbstring.png mbstring.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-872@lists.php.net to get a copy of this message | ||
rasmus Mon Oct 27 03:07:02 2003 EDT
Added files:
/presentations/slides/intro mbstring.png mbstring.xml
Log:
mbstring slide
Index: presentations/slides/intro/mbstring.xml
+++ presentations/slides/intro/mbstring.xml
<slide title="mbstring">
<blurb>
</blurb>
<example fontsize="1.6em">BIG-5 CP866 CP936 CP949(UHC)
CP950
CP1252 HZ UCS-4 UCS-4BE UCS-4LE
UCS-2 UCS-2BE UCS-2LE UTF-32 UTF-32BE
UTF-32LE UCS-2LE UTF-16 UTF-16BE UTF-16LE
UTF-8 UTF-7 KOI8-R ASCII EUC-JP
SJIS EUC-CN EUC-KR EUC-TW eucJP-win
SJIS-win ISO-2022-JP JIS ISO-2022-KR ISO-8859-1
ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-13
ISO-8859-14 ISO-8859-15 byte2be byte2le byte4be
byte4le BASE64 7bit 8bit UTF7-IMAP
</example>
<image filename="mbstring.png" align="center" />
<example fontsize="1.6em">BIG-5 CP866 CP936 CP949(UHC)
CP950
CP1252 HZ UCS-4 UCS-4BE UCS-4LE
UCS-2 UCS-2BE UCS-2LE UTF-32 UTF-32BE
UTF-32LE UCS-2LE UTF-16 UTF-16BE UTF-16LE
UTF-8 UTF-7 KOI8-R ASCII EUC-JP
SJIS EUC-CN EUC-KR EUC-TW eucJP-win
SJIS-win ISO-2022-JP JIS ISO-2022-KR ISO-8859-1
ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-13
ISO-8859-14 ISO-8859-15 byte2be byte2le byte4be
byte4le BASE64 7bit 8bit UTF7-IMAP
</example>
<blurb>
Other internal encodings work as well, but the encoding has to
be ASCII compatible from 0x00 to 0x7f.
</blurb>
<example title="Japan" fontsize="1.6em">;; Disable Output Buffering
output_buffering = Off
;; Set HTTP header charset
default_charset = EUC-JP
;; Set default language to Japanese
mbstring.language = Japanese
;; HTTP input encoding translation is enabled.
mbstring.encoding_translation = On
;; Set HTTP input encoding conversion to auto
;; which expands to ASCII, JIS, UTF-8, EUC-JP, SJIS
mbstring.http_input = auto
;; Convert HTTP output to EUC-JP
mbstring.http_output = EUC-JP
;; Set internal encoding to EUC-JP
mbstring.internal_encoding = EUC-JP
;; Do not print invalid characters
mbstring.substitute_character = none
;; 0: No overload
;; 1: Overload mail() function
;; 2: Overload str*() functions
;; 4: Overload ereg*() functions
mbstring.func_overload = 7
</example>
<example title="Korea">mbstring.language = Korean
mbstring.internal_encoding = EUC-KR
mbstring.http_input = auto
mbstring.http_output = EUC-KR
mbstring.encoding_translation = On
mbstring.func_overload = 7
</example>
<example title="Taiwan">mbstring.language = Chinese
mbstring.internal_encoding = BIG5
mbstring.http_input = auto
mbstring.http_output = BIG5
mbstring.encoding_translation = On
mbstring.func_overload = 7
</example>
<blurb>
*iconv* and *recode* are also available for converting other encodings
that mbstring cannot handle.
</blurb>
</slide>