[erlang-questions] source file encoding
Justus
mapandfold@REDACTED
Fri May 4 05:08:22 CEST 2012
Hi all,
I have tried to use BOM in source files, if no BOM is found, then
fallback to latin1.
Patches based on 5.9 are attached. Both strings (lists) and binaries
are handled properly.
f() -> {"世界, 你好", <<"世界, 你好"/utf8>>}.
--
Best Regards,
Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys_pre_expand.patch
Type: application/octet-stream
Size: 937 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120504/23db7fda/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epp.patch
Type: application/octet-stream
Size: 1152 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120504/23db7fda/attachment-0001.obj>
More information about the erlang-questions
mailing list