PHP quoted_printable_decode () function
Examples
After a string quoted-printable encoded decoding returns eight ASCII string:
<?php
$str = "Hello=0Aworld.";
echo quoted_printable_decode($str);
?>
$str = "Hello=0Aworld.";
echo quoted_printable_decode($str);
?>
Browser output of the code above is as follows:
Hello world.
HTML output of the code above is as follows (view source):
Hello
world.
world.
Running instance »
Definition and Usage
quoted_printable_decode () after a string quoted-printable encoded decoding returns eight ASCII string
Tip: After data quoted-printable encoded and modify messages transmitted via different.A full US-ASCII text can be quoted-printable encoding is used to ensure the adoption of the translated text or line package messaging gateway when the integrity of the data.
grammar
quoted_printable_decode( string )
参数 | 描述 |
---|---|
string | 必需。规定要解码的 quoted-printable 字符串。 |
technical details
return value: | It returns eight ASCII string. |
---|---|
PHP version: | 4+ |
PHP String Reference