UI for Zipcoin Blue

default-encoding.js 278B

1234567891011
  1. var defaultEncoding
  2. /* istanbul ignore next */
  3. if (process.browser) {
  4. defaultEncoding = 'utf-8'
  5. } else {
  6. var pVersionMajor = parseInt(process.version.split('.')[0].slice(1), 10)
  7. defaultEncoding = pVersionMajor >= 6 ? 'utf-8' : 'binary'
  8. }
  9. module.exports = defaultEncoding