# File hexja, line 1162 def utf8BitCount(byteCount) if byteCount == 1 return 7 else return 6 * (byteCount - 1) + 7 - byteCount end end