nmh-workers
[Top][All Lists]
Advanced

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

[Nmh-workers] scan - Funky output with utf-8


From: valdis . kletnieks
Subject: [Nmh-workers] scan - Funky output with utf-8
Date: Tue, 21 Mar 2017 01:29:50 -0400

%body in a scan format goes pear-shaped if -width splits a UTF character. Seems
that -width isn't clear on whether it's counting bytes or glyphs - 136 and 138
produce 1 UTF-8 character different.  And -width 137 splitting the UTF-8
char?  Yee-hah.  And I have no idea why -width 137 *stopped* where it did -
that one output 633 characters.

The tail end of the scan format is:

%(void{content-type})\
%<(match multipart)\
%?(match text/html)\
%|%<{body} <<%{body}%>\
%>

(Attaching a .png, cut-n-paste didn't quite get things right)

[~] scan -width 136 867285
867285      *  Fri 17Mar    9183 ??               Re: [PATCH v1 6/7] arm64: 
dts: rockchip: add dts file for RK3328 evaluation board <<

[~] scan -width 138 867285
867285      *  Fri 17Mar    9183 ??               Re: [PATCH v1 6/7] arm64: 
dts: rockchip: add dts file for RK3328 evaluation board <<?

[~] scan -width 137 867285
867285      *  Fri 17Mar    9183 ??               Re: [PATCH v1 6/7] arm64: 
dts: rockchip: add dts file for RK3328 evaluation board <<? 2017?03?17? 00:18, 
Andre Przywara ??: > Hi Chen, > > On 16/03/17 01:45, address@hidden wrote: >> 
From: Chen Liang <address@hidden> >> >> This patch add rk3328-evb.dts for 
RK3328 evaluation board. >> Tested on RK3328 evb. >> >> Signed-off-by: Chen 
Liang <address@hidden> >> --- >> arch/arm64/boot/dts/rockchip/Makefile | 1 + >> 
arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 +++++++++++++++++++++++++++++ 
>> 2 files changed, 58 insertions(+) >> create mode 100644 arch/a

Attachment: nmh-scan.png
Description: nmh-scan.png

Attachment: pgpwizpydiYih.pgp
Description: PGP signature


reply via email to

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