getCodePointFromCharIndex