open OUT, ">temp.txt"; binmode OUT, ":raw:encoding(UTF-16le)";