mohitsh / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

function needed #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I make a email parser (in jslibs via nspr)
how decode 7bits UTF8 or iso-xxxx to Jslibs ?

string start like "=?iso-8859-1?Q?...."

thanks.
(je suis de retour ! :-))

Original issue reported on code.google.com by oolmf...@gmail.com on 6 Oct 2008 at 10:34

GoogleCodeExporter commented 9 years ago
I will add jsiconv module (http://en.wikipedia.org/wiki/Iconv).

Original comment by sou...@gmail.com on 6 Oct 2008 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by sou...@gmail.com on 8 Oct 2008 at 12:00

GoogleCodeExporter commented 9 years ago
fixed in r2053.
example:
  var conv = new Iconv('UTF-8', 'ISO-8859-15'); // from ISO-8859-15 to UTF-8
  Print( conv('testé et approuvé') ,'\n' );

Original comment by sou...@gmail.com on 9 Oct 2008 at 7:20