« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 14 for Euro (0.003 sec.)
ある文字エンコーディングの文字列を、別の文字エンコーディングに変換する 12673
« iconv 関数 iconv_get_encoding » PHP Manual iconv 関数 ある文字エンコーディングの文字列を、別の文字エンコーディングに変換する 検索 iconv (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) iconv — ある文字エンコーディングの文字列を、別の文字エンコーディ ... 字列。 戻り値 変換された文字列を返します。 失敗した場合に false を返します。 例 例1 iconv() の例 <?php $text = "This is the Euro symbol '?'." ; echo 'Original : ' , $text , PHP_EOL ; echo 'TRANSLIT : ' , iconv ( "UTF-8" , "ISO-8859-1//TRANSLIT" , $tex ... nv ( "UTF-8" , "ISO-8859-1" , $text ), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 Original : This is the Euro symbol '?'. TRANSLIT : This is the Euro symbol 'EUR'. IGNORE : This is the Euro symbol ''. Plain : Notice: iconv(): Detect ... ィングから別の文字エンコーディングに文字列を変換する 関連キーワード: iconv エンコーディング encoding 変換 string text false Euro symbol echo 場合 実装 セット 集合 依存 失敗 php Original Plain Search ...
https://man.mtool.work/php/8.3/function.iconv.html
ある文字エンコーディングの文字列を、別の文字エンコーディングに変換する 12673
« iconv 関数 iconv_get_encoding » PHP Manual iconv 関数 ある文字エンコーディングの文字列を、別の文字エンコーディングに変換する 検索 iconv (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) iconv — ある文字エンコーディングの文字列を、別の文字エンコーディ ... 字列。 戻り値 変換された文字列を返します。 失敗した場合に false を返します。 例 例1 iconv() の例 <?php $text = "This is the Euro symbol '?'." ; echo 'Original : ' , $text , PHP_EOL ; echo 'TRANSLIT : ' , iconv ( "UTF-8" , "ISO-8859-1//TRANSLIT" , $tex ... nv ( "UTF-8" , "ISO-8859-1" , $text ), PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 Original : This is the Euro symbol '?'. TRANSLIT : This is the Euro symbol 'EUR'. IGNORE : This is the Euro symbol ''. Plain : Notice: iconv(): Detect ... ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 関連キーワード: iconv エンコーディング encoding text Euro symbol 実装 セット 集合 依存 Original Plain 解釈 翻字 見た目 無効 Detected illegal character input example line サポート 参 ...
https://man.mtool.work/php/8.3/function.iconv.html
UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、表現できない文字を置換する 10047
« ucwords utf8_encode » PHP Manual String 関数 UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、表現できない文字を置換する 検索 utf8_decode (PHP 4, PHP 5, PHP 7, PHP 8) utf8_decode — UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、 ... e ( $invalid_utf8_string ); var_dump ( $iso8859_1_string ); // Characters which don't exist in ISO 8859-1, such as // '€' (Euro Sign) are also replaced with '?' $utf8_string = "\xE2\x82\xAC" ; $iso8859_1_string = utf8_decode ( $utf8_string ); var_dum ... utf8_string , 'ISO-8859-7' , 'UTF-8' ); echo bin2hex ( $iso8859_7_string ), "\n" ; $utf8_string = "\xE2\x82\xAC" ; // '€' (Euro sign) in UTF-8 (not present in ISO-8859-1) $windows_1252_string = mb_convert_encoding ( $utf8_string , 'Windows-1252' , 'U ... で表現できないか、不正な文字列の場合の utf8_decode() 関数と同じ結果を返します。 <?php $utf8_string = "\xE2\x82\xAC" ; // € (Euro Sign) does not exist in ISO 8859-1 $iso8859_1_string = UConverter :: transcode ( $utf8_string , 'ISO-8859-1' , 'UTF-8' , [ ...
https://man.mtool.work/php/8.3/function.utf8-decode.html
UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、表現できない文字を置換する 9137
« ucwords utf8_encode » PHP Manual String 関数 UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、表現できない文字を置換する 検索 utf8_decode (PHP 4, PHP 5, PHP 7, PHP 8) utf8_decode — UTF-8 エンコードされた文字列を、ISO-8859-1 に変換し、 ... e ( $invalid_utf8_string ); var_dump ( $iso8859_1_string ); // Characters which don't exist in ISO 8859-1, such as // '€' (Euro Sign) are also replaced with '?' $utf8_string = "\xE2\x82\xAC" ; $iso8859_1_string = utf8_decode ( $utf8_string ); var_dum ... utf8_string , 'ISO-8859-7' , 'UTF-8' ); echo bin2hex ( $iso8859_7_string ), "\n" ; $utf8_string = "\xE2\x82\xAC" ; // '€' (Euro sign) in UTF-8 (not present in ISO-8859-1) $windows_1252_string = mb_convert_encoding ( $utf8_string , 'Windows-1252' , 'U ... で表現できないか、不正な文字列の場合の utf8_decode() 関数と同じ結果を返します。 <?php $utf8_string = "\xE2\x82\xAC" ; // € (Euro Sign) does not exist in ISO 8859-1 $iso8859_1_string = UConverter :: transcode ( $utf8_string , 'ISO-8859-1' , 'UTF-8' , [ ...
https://man.mtool.work/php/8.3/function.utf8-decode.html
ロケール情報を設定する 8349
« rtrim sha1 » PHP Manual String 関数 ロケール情報を設定する 検索 setlocale (PHP 4, PHP 5, PHP 7, PHP 8) setlocale — ロケール情報を設定する 説明 function setlocale ( int $category , ? string $locales , string ...$rest ): string | false 代替 ... 0 , 0 , 12 , 22 , 1978 )); /* ドイツに対して利用可能な異なるロケール名を使用する */ $loc_de = setlocale ( LC_ALL , 'de_DE@euro' , 'de_DE' , 'de' , 'ge' ); echo "Preferred locale for german on this system is ' $loc_de '" ; ?> 例2 setlocale() で現在の ... 0 , 0 , 12 , 22 , 1978 )); /* ドイツに対して利用可能な異なるロケール名を使用する */ $loc_de = setlocale ( LC_ALL , 'de_DE@euro' , 'de_DE' , 'deu_deu' ); echo "Preferred locale for german on this system is ' $loc_de '" ; ?> 注意 ヒント Windows ユーザ ...
https://man.mtool.work/php/8.3/function.setlocale.html
ロケール情報を設定する 8349
« rtrim sha1 » PHP Manual String 関数 ロケール情報を設定する 検索 setlocale (PHP 4, PHP 5, PHP 7, PHP 8) setlocale — ロケール情報を設定する 説明 function setlocale ( int $category , ? string $locales , string ...$rest ): string | false 代替 ... 0 , 0 , 12 , 22 , 1978 )); /* ドイツに対して利用可能な異なるロケール名を使用する */ $loc_de = setlocale ( LC_ALL , 'de_DE@euro' , 'de_DE' , 'de' , 'ge' ); echo "Preferred locale for german on this system is ' $loc_de '" ; ?> 例2 setlocale() で現在の ... 0 , 0 , 12 , 22 , 1978 )); /* ドイツに対して利用可能な異なるロケール名を使用する */ $loc_de = setlocale ( LC_ALL , 'de_DE@euro' , 'de_DE' , 'deu_deu' ); echo "Preferred locale for german on this system is ' $loc_de '" ; ?> 注意 ヒント Windows ユーザ ...
https://man.mtool.work/php/8.3/function.setlocale.html
Parle pattern matching 7737
« 定義済み定数 例 » PHP Manual Parle Parle pattern matching 検索 Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [: ... to make them available. A particular encoding can be mapped with a correctly constructed regex. For example, to match the EURO symbol encoded in UTF-8, the regular expression [\xe2][\x82][\xac] can be used. The pattern for an UTF-8 encoded string co ...
https://man.mtool.work/php/8.3/parle.pattern.matching.html
ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 7737
« UConverter::toUCallback Grapheme 関数 » PHP Manual UConverter ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 検索 UConverter::transcode (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) UConverter::transcode — ある文 ... 使われる文字はエンコーディングに依存しますが、 'to_subst' を使って制御できます。 <?php $utf8_string = "\xE2\x82\xAC" ; // € (Euro Sign) does not exist in ISO 8859-1 // Default replacement in ISO 8859-1 is "\x1A" (Substitute) $iso8859_1_string = UConver ...
https://man.mtool.work/php/8.3/uconverter.transcode.html
Parle pattern matching 7737
« 定義済み定数 例 » PHP Manual Parle Parle pattern matching 検索 Parle pattern matching Parle supports regex matching similar to flex. Also supported are the following POSIX character sets: [:alnum:] , [:alpha:] , [:blank:] , [:cntrl:] , [: ... to make them available. A particular encoding can be mapped with a correctly constructed regex. For example, to match the EURO symbol encoded in UTF-8, the regular expression [\xe2][\x82][\xac] can be used. The pattern for an UTF-8 encoded string co ...
https://man.mtool.work/php/8.3/parle.pattern.matching.html
ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 7737
« UConverter::toUCallback Grapheme 関数 » PHP Manual UConverter ある文字エンコーディングから別の文字エンコーディングに文字列を変換する 検索 UConverter::transcode (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) UConverter::transcode — ある文 ... 使われる文字はエンコーディングに依存しますが、 'to_subst' を使って制御できます。 <?php $utf8_string = "\xE2\x82\xAC" ; // € (Euro Sign) does not exist in ISO 8859-1 // Default replacement in ISO 8859-1 is "\x1A" (Substitute) $iso8859_1_string = UConver ...
https://man.mtool.work/php/8.3/uconverter.transcode.html
PREV 1 2 NEXT