function _interopDefault(ex) {
  return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;
}
Gets an encoding name from platform, encoding, and language ids.
Returned encoding names can be used in iconv-lite to decode text.