function getlatin1(val) {
  // simple Unicode -> ISO-8859-1 transformation
  return String(val).replace(nonLatin1RegExp, '?')
}
Get ISO-8859-1 version of string.

@param {string} val
@return {string}
@api private