[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: iconv [was: HTML Encoding]
- From: Alexandre Erwin Ittner <alexandre@...>
- Date: Mon, 14 Oct 2013 13:49:02 -0300
On Mon, Oct 14, 2013 at 11:13 AM, Romulo <romuloab@gmail.com> wrote:
> I believe the syntax for iconv is iconv( tocharset, fromcharset),
> thus: iconv.new( 'utf-8', 'latin1' ) instead of iconv.new( 'latin1',
> 'utf-8' ).
That's correct. Lua-iconv emulates the argument order of POSIX iconv_open().
--
Alexandre Erwin Ittner - alexandre@ittner.com.br
OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu