Re: [PATCH] armscii-8.7, cp1251.7, iso_8859-3.7, iso_8859-5.7, iso_8859-6.7, iso_8859-8.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, koi8-u.7: Fix decimal values in encoding tables

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

 



On 2010/1/18 I wrote:
[...]
> Octal and hexadecimal values are right, but there are some off-by one
> errors in decimal values.  Correct values are printed by this command:
>
>  perl -pi -e 'if (s/^([0-7]+)\t([0-9]+)\t([0-9a-fA-F]+)//)
>    {printf "%03o\t%d\t%s", hex($3), hex($3), $3;};' man7/*.7
> ---
>  man7/armscii-8.7   |   70 +++++++++++++++++++++++++-------------------------
>  man7/cp1251.7      |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-10.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-11.7 |   58 +++++++++++++++++++++---------------------
>  man7/iso_8859-13.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-14.7 |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-3.7  |   68 ++++++++++++++++++++++++------------------------
>  man7/iso_8859-5.7  |   72 ++++++++++++++++++++++++++--------------------------
>  man7/iso_8859-6.7  |   38 +++++++++++++-------------
>  man7/iso_8859-8.7  |   60 +++++++++++++++++++++---------------------
>  man7/koi8-u.7      |   72 ++++++++++++++++++++++++++--------------------------
>  11 files changed, 363 insertions(+), 363 deletions(-)
[...]

Hi,

Please consider applying this patch, it fixes off-by-one errors in
tables of various charsets.

Denis

Attachment: 0001-armscii-8.7-cp1251.7-iso_8859-10.7-iso_8859-11.7-iso.patch.bz2
Description: BZip2 compressed data


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux