[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] dodgy item in the TODO list

From: Mike Frysinger
Subject: Re: [Nano-devel] dodgy item in the TODO list
Date: Thu, 28 May 2015 11:54:05 -0400

On 28 May 2015 17:08, Benno Schulenberg wrote:
> Hi all,
> One item in nano's TODO list says this:
> - Fix handling of bad/incomplete UTF-8 sequences to display one Unicode
>   FFFD (Replacement Character) per sequence instead of one per byte.
> But... what if there is a sequence of say twenty bytes of 0x88,
> should all twenty bytes be replaced by a single U+FFFD?
> I think it's much more "honest" to show exactly how many bytes of
> invalid codes there are.  (As is now properly done, since r5206.)
> What do you think?

if it's faster, i'd say do it on a per-byte basis

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]