[erlang-questions] String encoding and character set

Jani Hakala <>
Wed Jan 17 06:28:23 CET 2007


"Richard A. O'Keefe" <> writes:

>
> So in Unicode, "access(ing) the nth character ... by its position" is
> not only ambiguous (do you mean "characters" or "code points") but
> essentially useless.  You might pick up an "e", but it is _really_ just
> the first part of e-acute.
>
Accessing the nth glyph in case of unicode string shouldn't be
ambiguous? If there was a glyph type in erlang it would be possible to
have a list of glyphs and accessing the nth glyph should be possible.

Jani Hakala



More information about the erlang-questions mailing list