quoted_printable_encode - 8ビット文字列をquoted-printable文字列に変換する
quoted_printable_encodeは、8ビット文字列をquoted-printable文字列に変換する関数です。メールのデータを取り扱うのに利用します。
構文
パラメータ
$str
対象の文字列。
返り値
string
エンコードされた文字列。
サンプルコード
<?php
$response = quoted_printable_encode( "hoge" ) ;
デモ
<?php
/*** このコードは編集できます。 ***/
$response = quoted_printable_encode( "hoge" ) ;
var_dump( $response ) ;
参考
- PHP: quoted_printable_encode
- PHPの公式リファレンス。
関連記事
- convert_uudecode
- 文字列をuuencodeアルゴリズムでデコードする。
- convert_uuencode
- 文字列をuuencodeアルゴリズムでエンコードする。
- 文字列を出力する。