lua-users home
lua-l archive

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

On Feb 03, 2005, at 02:19, Diego Nehab wrote:

Does this exist or is it your suggestion for a split between LuaSocket
and the MIME support?

It's indeed a suggestion to split to two functionalities in two different packages :)

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.

I need UTF-8 at a bare minimum.

The encoding doesn't care about the charset, though.


PA, Onnay Equitursay