develooper Front page | perl.perl5.porters | Postings from May 2014

Re: RFC: Making -B and -T work better on 8-bit encodings

Thread Previous | Thread Next
From:
Karl Williamson
Date:
May 5, 2014 15:35
Subject:
Re: RFC: Making -B and -T work better on 8-bit encodings
Message ID:
5367AFD0.5000909@khwilliamson.com
On 05/05/2014 08:37 AM, Ricardo Signes wrote:
> Are we concerned about ending in the middle of a multibyte-sequence?

I thought that the way I would handle this situation was too much detail 
to put in the proposal.

But, since you mention it, one simply ignores any partial character at 
the end.  If all the complete characters that fit in the (typically) 512 
buffer are UTF-8, we don't look at one that starts in the final few 
bytes that crosses the 512-byte boundary.

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