function strLength(s, bUnicode255For1) {
  let l = s.length
  if(!bUnicode255For1) {
    for(let i in s) {
      s.charCodeAt(i) > 255 ? l++ : l
    }
  }
  return l
}