I noticed that the nif functions in erlang don't handle utf8/16 correctly https://github.com/Licenser/erlniftest is an example of the problem. Regards, Heinz -- Heinz N. Gies heinz@REDACTED http://licenser.net