nmh-workers
[Top] [All Lists]

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

2017-03-21 01:49:12
%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, 
cl(_at_)rock-chips(_dot_)com wrote: >> From: Chen Liang 
<cl(_at_)rock-chips(_dot_)com> >> >> This patch add rk3328-evb.dts for RK3328 
evaluation board. >> Tested on RK3328 evb. >> >> Signed-off-by: Chen Liang 
<cl(_at_)rock-chips(_dot_)com> >> --- >> 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: pgpi6RRh_r6KX.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>