Re: [nodejs] Can I use another encoding in node.js when I use fs.readFile()

109 views
Skip to first unread message

Matt

unread,
Aug 20, 2012, 8:33:39 AM8/20/12
to nod...@googlegroups.com
No. You have to read the data as a Buffer (binary) and use node-iconv to convert it.

On Sat, Aug 18, 2012 at 2:49 AM, Satit Rianpit <ria...@gmail.com> wrote:

Can I use tis620 or windows874 encoding for fs.readFile() in node.js

Thanks.

Satit Rianpit

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply all
Reply to author
Forward
0 new messages