PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

画像処理および作成> <Unicode 関数
Last updated: Fri, 22 Aug 2008

view this page in

unicode_set_subst_char

(No version information available, might be only in CVS)

unicode_set_subst_char文字列変換エラー時に使用する置換文字を設定する

説明

bool unicode_set_subst_char ( unicode $character )

文字列を unicode から変換したり unicode に変換したりする際には、 変換できない文字があらわれることがあります。変換エラーモードを U_CONV_ERROR_SUBST に設定している場合、 このような文字はこの関数で設定した文字で置き換えられます。 デフォルトの置換文字は ? です。

パラメータ

character

使用する置換文字。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

エラー / 例外

character が無効な場合に E_WARNING レベルのエラーが発生します。

注意

警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。



add a note add a note User Contributed Notes
unicode_set_subst_char
There are no user contributed notes for this page.

画像処理および作成> <Unicode 関数
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites