[erlang-questions] unicode in string literals

Michel Rijnders g.a.c.rijnders@REDACTED
Tue Jul 31 09:39:58 CEST 2012


On Tue, Jul 31, 2012 at 9:05 AM, Joe Armstrong <erlang@REDACTED> wrote:
> Is "encoding(...)"  a good idea?
>
> There are four reasonable alternatives
>
>     a) - all files are Latin1
>     b) - all files are UTF8
>     c) - all files are Latin1 or UTF8 and you guess
>     d) - all files are Latin1 or UTF8 or anything else and you tell

I understand it is quite drastic but I would prefer a separate data
type for (unicode) strings.
-- 
My other car is a cdr.



More information about the erlang-questions mailing list