add UTF-7 encoding #72

Closed
Mithgol opened this Issue Jul 15, 2014 · 6 comments

Projects

None yet

3 participants

@Mithgol
Contributor
Mithgol commented Jul 15, 2014

Related articles in Wikipedia:

@andris9
andris9 commented Jul 15, 2014

There are already some utf7 implementations for javascript (for example the utf7 module for node or this gist) but it would be great if it would be baked in to iconv-lite

@ashtuchkin
Owner

Ok, I see there are two UTF-7 formats - one original (RFC2152) and the other modified, used in IMAP RFC3501 sec5.1.3.

Do you mind if I name them UTF-7 and UTF-7-IMAP (as was done f.ex. in http://weldon.whipple.org/sendmail/utf7imap/)?

@andris9
andris9 commented Jul 16, 2014

'UTF-7-IMAP' seems fair to me. I do not know if anyone uses the modified format outside IMAP folder naming and it is going to be deprecated in the long term by RFC6855 anyway.

@Mithgol
Contributor
Mithgol commented Jul 16, 2014

Seems fair to me too.

@ashtuchkin
Owner

Published as v0.4.4 on npm.

@Mithgol
Contributor
Mithgol commented Jul 17, 2014

Thanks!

@Mithgol Mithgol added a commit to Mithgol/node-fidonet-jam that referenced this issue Jul 17, 2014
@Mithgol Mithgol v3.8.2: use iconv-lite 0.4.4 (support UTF7: ashtuchkin/iconv-lite#72) bab499e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment