★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.quoted-printable-decode.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to 文字列
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
文字列
* AddCSlashes
* AddSlashes
* bin2hex
* Chop
* Chr
* chunk_split
* convert_cyr_string
* count_chars
* crc32
* crypt
* echo
* explode
* flush
* get_html_translation_table
* get_meta_tags
* hebrev
* hebrevc
* htmlentities
* htmlspecialchars
* implode
* join
* levenshtein
* ltrim
* md5
* Metaphone
* nl2br
* ob_start
* ob_get_contents
* ob_end_flush
* ob_end_clean
* ob_implicit_flush
* Ord
* parse_str
* print
* printf
* quoted_printable_decode
* QuoteMeta
* rtrim
* sscanf
* setlocale
* similar_text
* soundex
* sprintf
* strcasecmp
* strchr
* strcmp
* strcspn
* strip_tags
* StripCSlashes
* StripSlashes
* stristr
* strlen
* str_pad
* strpos
* strrchr
* str_repeat
* strrev
* strrpos
* strspn
* strstr
* strtok
* strtolower
* strtoupper
* str_replace
* strtr
* substr
* substr_count
* substr_replace
* trim
* ucfirst
* ucwords
Manual: quoted_printable_decode
View the source code for this pageSearch the site



Previous page
 printf
 Updated
Mon, 14 Aug 2000
QuoteMeta 
Next page


quoted_printable_decode

(PHP3 >= 3.0.6, PHP4 )

quoted_printable_decode --  quoted-printable文字列を8ビット文字列に変換

説明

string quoted_printable_decode (string str)

この関数は、quoted printable 文字列をデコードし、8ビットバイナリ 文字列を返します。この関数は imap_qprint() に 似ていますが、動作にIMAPモジュールを必要としないという違いがあり ます。


User Contributed Notes: quoted_printable_decode


sunil@nanjang.com
11-Oct-1999 07:52
hi. i'm php developer in korean.

quoted print decode works well,

but <font color=blue>quoted_printable_decode(str_replace("=\r\n","",$string)</font> works better when MIME email decode.

MIME mail feeds every 76 char (maybe).
and feeding line tlanslate "=\r\n"

so, it better that use <font color=blue>quoted_printable_decode(str_replace("=\r\n","",$line)</font>
when quoted printable MIME decoding.

I test under php3.0.11,..



roth@egotec.de
10-Dec-1999 07:36
Where is the quoted_printable_encode function ?


thomas@kenne.dk
12-Apr-2000 04:09
Try the imap_8bit function, for converting an 8bit string to a quotad printable string.


gustavf@spamstop.com
07-Jul-2000 10:25

This function does not recognize lowercase letters as part of the Quoted Printable encoding. RFC 1521 specifies:


Uppercase letters must be used when sending hexadecimal data, though a robust implementation may choose to recognize lowercase letters on receipt.




madmax@express.ru
03-Aug-2000 05:41
Some browser (netscape, for example)
send 8-bit quoted printable text like this:
=C5=DD=A3=D2=C1= =DA

"= =" means continuos word.
php function not detect this situations and translate in string like:
abcde=f






 About Notes


Previous page
 printf
 Updated
Mon, 14 Aug 2000
QuoteMeta 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.