develooper Front page | perl.perl5.porters | Postings from December 2011

Re: [rt.cpan.org #73623] [perl #107326] perl's unicode conversion fails when iconv succeeds

Thread Previous | Thread Next
From:
ikegami@adaelis.com via RT
Date:
December 30, 2011 15:39
Subject:
Re: [rt.cpan.org #73623] [perl #107326] perl's unicode conversion fails when iconv succeeds
Message ID:
rt-3.8.HEAD-6889-1325288363-1256.73623-6-0@rt.cpan.org
<URL: https://rt.cpan.org/Ticket/Display.html?id=73623 >

On Fri, Dec 30, 2011 at 6:15 PM, Linda A Walsh via RT <
bug-Encode@rt.cpan.org> wrote:

> As for the lines in the file I submitted-- they looked like they all had
> CRLF as line separators...
>

Probably. And not really relevant.

piconv was treating your file as a series of lines ending with 0A *before
decoding*. LF is not 0A in UTF-16le, and an 0A is not necessarily part of a
LF in UTF-16le.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About