[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaSocket http ftp smpt...
- From: Diego Nehab <diego@...>
- Date: Wed, 2 Feb 2005 20:19:19 -0500 (EST)
Hi,
> Perhaps in LuaMime?
Does this exist or is it your suggestion for a split between LuaSocket
and the MIME support?
> > Header encoding is not there (for no good reason), but it's really easy
> > to do. Maybe I should add a tiny function to do it.
>
> Yes! That would be great. What character set does the encoding uses?
> UTF-8? Big5?
What I would do is provide a function that takes a header, a charset
specification, a "q" or "b" mode, and return the encoded string. The
most common charset is ISO-8859-1, which is enough for us Latin people.
The encoding doesn't care about the charset, though.
[]s,
Diego.