Using stringToUTF16() results in a UTF-16 string that's prefixed with the BOM 65279 (0xFEFF). This is hard to notice because the character in question is invisible when printed but it's there.
Steps to reproduce: Use stringToUTF16() under Linux (or wherever the iconv implementation is used) and check the value of the first character returned.
Additional information: See also: * https://lists.gnu.org/archive/html/bug-gnu-libiconv/2012-01/msg00001.html * http://superuser.com/a/381132
OS: Linux, OS build: Arch, Platform: x86_64