Re: [Imap-protocol] Non-ASCII text in the human readable portion of a response

Michael M Slusarz <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <20120710124542.Horde.DgHsC4F5lbhP-HhWuUbyDRA@bigworm.curecanti.org>
Quoting Ian Anderson <[email protected]>:

> How is one supposed to put non-ASCII text in the human readable  
> portion of a response?  Something like this.
>
> tag01 NO [ALERT] some non-ASCII text to show the user
>
> RFC 3501 is unclear on this, it would seem to indicate that this  
> part of the response is "text" which boils down to "any CHAR except  
> CR and LF".  But how are the bytes to be interpreted?  Are they  
> limited to ASCII?  Is there another standard that allows non-ASCII  
> bytes?

RFC 3501 is limited to US-ASCII response text.  To use UTF-8, you need  
the LANGUAGE extension: RFC 5255 (http://tools.ietf.org/html/rfc5255).

michael

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.