Results of 1 - 2 of about 2 for fromEncoding (0.001 sec.)
- UConverter::transcode — ある文字エンコーディングから別の文字エンコーディングに... 11228
- UConverter::transcode (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) UConverter::transcode — ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 説明 public static function UConverter::transcode ( string $str , string $t
... oEncoding , string $fromEncoding , ? array $options = null ): string | false 文字列 str の文字エンコーディングを、 fromEncoding から toEncoding に変換します ... 。 パラメータ str 変換する文字列。 toEncoding 変換したいエンコーディング。 fromEncoding str の解釈に使われる文字セット。 options オプションの配列。以下のキーが使えます: 'to_subst' - toEncoding ではエンコードでき ... ring ), "\n" ; ?> 上の例の出力は以下となります。 005a006f00eb 5a6fc3ab 例2 入力に不正な文字が含まれていた場合 入力文字列に fromEncoding では不正なバイト列が含まれていた場合、 Unicode のコードポイント U+FFFD (置換文字) に置き換えられます。 この置き換えは、 to ...
-
https://man.mtool.work/php/8.3/uconverter.transcode.html
- UConverter クラス | PHP 8.3 7485
- UConverter クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) はじめに クラス概要 class UConverter { /* 定数 */ public const int REASON_UNASSIGNED ; public const int REASON_ILLEGAL ; public const int REASON_IRREGULAR ; public const int
... , int &$error ): string | int | array | null public static function transcode ( string $str , string $toEncoding , string $fromEncoding , ? array $options = null ): string | false } 定義済み定数 UConverter::REASON_UNASSIGNED int UConverter::REASON_ILLEGAL in ...
-
https://man.mtool.work/php/8.3/class.uconverter.html
PREV
1
NEXT