[erlang-questions] correct terminology for referring to strings

Vlad Dumitrescu <>
Wed Aug 1 20:57:23 CEST 2012


On Wed, Aug 1, 2012 at 8:42 PM, Thomas Lindgren
<> wrote:
> How about adding compiler warnings about string literals that do not obey
> the designated encoding? (There should then, of course, be multiple possibilities to choose from.)
> E.g., "warn if strings not UTF8", "warn if not Latin-1", "warn if not compatible with current locale" ...

The problem is that there aren't any invalid Latin-1 characters and
thus strings. One can guess that for example "ø" is not a meaningful
string, and that it's actually "ø", but it's not 100% reliable...


More information about the erlang-questions mailing list