Monday, 11 April 2016

nodejs fs Standard Encodings.


It is hard to find out all nodejs fs supporting formats. And nodejs use lower case. Here i found all davalaiable formats from their source code:
  • hex
  • utf8
  • utf-8
  • ascii
  • binary
  • base64
  • ucs2
  • ucs-2
  • utf16le
  • utf-16le


http://stackoverflow.com/questions/14551608/list-of-encodings-that-node-js-supports

https://github.com/nodejs/node/blob/master/lib/buffer.js




No comments:

Post a comment