get code point of each char

TODO: get glyph of each char