Re: Printing Unicode from XS

2004-05-14 Thread Erland Sommarskog
Nick Ing-Simmons ([EMAIL PROTECTED]) writes: > As far as you are concerned PerlIO_stderr() is either ready to accept > UTF-8 when you don't have a problem, (other than UTF-8 encoding chars) > or it is "still" in native mode - presumably some code page or other. Or it has been set to utf16-le or

Re: BOM and principle of least surprise

2004-05-14 Thread Erland Sommarskog
Jarkko Hietaniemi ([EMAIL PROTECTED]) writes: > Nick Ing-Simmons wrote: >> This thread started as complaint that perl5 can't read a >> script saved as UCS-2/UTF-16 or whatever Windows uses. > > Uh, really? Perl 5.8+ should be able to do that, automatically. To be able to that, it would have hav

Re: BOM and principle of least surprise

2004-05-14 Thread Jarkko Hietaniemi
Erland Sommarskog wrote: > Jarkko Hietaniemi ([EMAIL PROTECTED]) writes: > >>Nick Ing-Simmons wrote: >> >>>This thread started as complaint that perl5 can't read a >>>script saved as UCS-2/UTF-16 or whatever Windows uses. >> >>Uh, really? Perl 5.8+ should be able to do that, automatically. > >