[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slug header encoding



* ASAKURA Hiroshi wrote:
>What is "mime word encoding"? Does it mean a string such as 
>"=?ISO-2022-JP?B?GyRCJDMkb..." ?

Yes.

>#If it is so, sorry, I can't understand above sentence. I think that
>#Content-Type header doesn't use "mime word encoding". Could you tell
>#me why?

RFC 2616, section 2.2. For example,

  Content-Type: text/plain;charset="=?utf-8?b?SVNPLTg4NTktMg==?="

is a valid way to write this header, although using mime word encoding
for ascii-only strings is not recommended.

>Yes. So, I think that we should decide encodings and character set
>that can surely be recognized by all APP servers.
>Sorry, I don't know the situation in Germany, do you have two major
>encodings, iso-8859-1 and utf-8?

Well that depends on what you look at, CP850, UTF8, UTF16, ISO8859-1,
ISO8859-15, Windows-1252 are all in common use.

>If the encoding that should be recognized by all APP servers is
>assumed to be utf-8 like XML, I think it is good for interoperability.

That would certainly work for me.
-- 
Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/