Nick Ing-Simmons ([EMAIL PROTECTED]) writes: > For a UCS-2 file things are not very automatic. > > This scheme should work: > Turn off the low level CRLF handling, then add the widening layer, > then add a crlf converter and finally tell perl the stack can handle UTF8: > > open (F, '>:raw:encoding(ucs-2le):crlf:utf8', 'as-ucs2.txt');
Thanks. Certainly does not goes along with the principle of least surprise. Confirms my impression that there is still some work left to do before Perl has everything right with Unicode. -- Erland Sommarskog, Stockholm, [EMAIL PROTECTED]