The UConverter class
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
简介
类摘要
预定义常量
-
UConverter::REASON_UNASSIGNED
int -
UConverter::REASON_ILLEGAL
int -
UConverter::REASON_IRREGULAR
int -
UConverter::REASON_RESET
int -
UConverter::REASON_CLOSE
int -
UConverter::REASON_CLONE
int -
UConverter::UNSUPPORTED_CONVERTER
int -
UConverter::SBCS
int -
UConverter::DBCS
int -
UConverter::MBCS
int -
UConverter::LATIN_1
int -
UConverter::UTF8
int -
UConverter::UTF16_BigEndian
int -
UConverter::UTF16_LittleEndian
int -
UConverter::UTF32_BigEndian
int -
UConverter::UTF32_LittleEndian
int -
UConverter::EBCDIC_STATEFUL
int -
UConverter::ISO_2022
int -
UConverter::LMBCS_1
int -
UConverter::LMBCS_2
int -
UConverter::LMBCS_3
int -
UConverter::LMBCS_4
int -
UConverter::LMBCS_5
int -
UConverter::LMBCS_6
int -
UConverter::LMBCS_8
int -
UConverter::LMBCS_11
int -
UConverter::LMBCS_16
int -
UConverter::LMBCS_17
int -
UConverter::LMBCS_18
int -
UConverter::LMBCS_19
int -
UConverter::LMBCS_LAST
int -
UConverter::HZ
int -
UConverter::SCSU
int -
UConverter::ISCII
int -
UConverter::US_ASCII
int -
UConverter::UTF7
int -
UConverter::BOCU1
int -
UConverter::UTF16
int -
UConverter::UTF32
int -
UConverter::CESU8
int -
UConverter::IMAP_MAILBOX
int
更新日志
版本 | 说明 |
---|---|
8.4.0 | The class constants are now typed. |
目录
- UConverter::__construct — Create UConverter object
- UConverter::convert — Convert string from one charset to another
- UConverter::fromUCallback — Default "from" callback function
- UConverter::getAliases — Get the aliases of the given name
- UConverter::getAvailable — Get the available canonical converter names
- UConverter::getDestinationEncoding — Get the destination encoding
- UConverter::getDestinationType — Get the destination converter type
- UConverter::getErrorCode — Get last error code on the object
- UConverter::getErrorMessage — Get last error message on the object
- UConverter::getSourceEncoding — Get the source encoding
- UConverter::getSourceType — Get the source converter type
- UConverter::getStandards — Get standards associated to converter names
- UConverter::getSubstChars — Get substitution chars
- UConverter::reasonText — Get string representation of the callback reason
- UConverter::setDestinationEncoding — Set the destination encoding
- UConverter::setSourceEncoding — Set the source encoding
- UConverter::setSubstChars — Set the substitution chars
- UConverter::toUCallback — Default "to" callback function
- UConverter::transcode — Convert a string from one character encoding to another
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。