[erlang-questions] unicode in string literals
Masklinn
masklinn@REDACTED
Tue Jul 31 11:48:06 CEST 2012
On 2012-07-31, at 11:36 , CGS wrote:
>
> I might be wrong, but, switching to default UTF-8, wouldn't that force the
> compiler to use 2-byte (at least) per character?
No? The first 128 code points (ASCII) fit in a single byte.
> If so, for example, what
> about the databases based on Erlang for projects using strict Latin-1?
The ASCII (7-bit) characters would be stored on 1 byte, those beyond
that (until the codepoint 2048) would be on 2 bytes.
More information about the erlang-questions
mailing list