[PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Jan Schneider
The PHP manual is a bit vague on what the imap_utf7 methods expect/return: "Converts 8bit data to modified UTF-7 text." 8bit data in what encoding? iso-8859-1 I guess. Does the modified utf-7 charset exist as such on common systems so that I can use mb_convert_encoding() or iconv() instead? If

php-i18n Digest 12 Jan 2003 17:37:53 -0000 Issue 142

2003-01-12 Thread php-i18n-digest-help
php-i18n Digest 12 Jan 2003 17:37:53 - Issue 142 Topics (messages 400 through 408): Re: ctype extension mb safe? 400 by: Moriyoshi Koizumi 403 by: Moriyoshi Koizumi 406 by: Jan Schneider Re: Mb_output_handler and Shift-JIS 401 by: Moriyoshi Koizumi 40

Re: [PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Moriyoshi Koizumi
On Sun, Jan 12, 2003 at 06:37:48PM +0100, Jan Schneider wrote: > The PHP manual is a bit vague on what the imap_utf7 methods > expect/return: "Converts 8bit data to modified UTF-7 text." > > 8bit data in what encoding? iso-8859-1 I guess. imap_utf7_encode() function appears to regard any input s

Re: [PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Jan Schneider
Moriyoshi Koizumi wrote: On Sun, Jan 12, 2003 at 06:37:48PM +0100, Jan Schneider wrote: The PHP manual is a bit vague on what the imap_utf7 methods expect/return: "Converts 8bit data to modified UTF-7 text." 8bit data in what encoding? iso-8859-1 I guess. imap_utf7_encode() function appears

Re: [PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Moriyoshi Koizumi
On Sun, Jan 12, 2003 at 11:40:30PM +0100, Jan Schneider wrote: > >I'll be happy as a developer of php internals if you report such vagueness > >at the bug database too. > > Done. Thanks. > That's not quite an answer to my question but thanks anyway. ;-) > Just to clarify: utf7-imap is an offici

Re: [PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Jan Schneider
Moriyoshi Koizumi wrote: That's not quite an answer to my question but thanks anyway. ;-) Just to clarify: utf7-imap is an official or at least supported charset name? Although I still wonder if this is the exact answer to your question, IMAP version of utf-7 is defined in RFC2060 but there's n

Re: [PHP-I18N] imap_utf7_[en|de]code, from/to which charset?

2003-01-12 Thread Moriyoshi Koizumi
On Mon, Jan 13, 2003 at 12:11:15AM +0100, Jan Schneider wrote: > >Although I still wonder if this is the exact answer to your question, > >IMAP version of utf-7 is defined in RFC2060 but there's no entry for it > >in IANA charset registry. > > That's exactly the answer. So I assume that the mbstri

[PHP-I18N] Content-Length: and multibyte

2003-01-12 Thread Jan Schneider
OK, this is not really PHP related but I thought I might ask anway: If sending the Content-Length: http header to the browser for a page that's encoded in a multibyte charset, do I use the binary length or the character length? Jan. -- PHP Internationalization Mailing List (http://www.php.net/