Red Hat Bugzilla – Bug 455371
[rpmlint] Mistakenly treat characters that has "A0" in it UTF8 code as non-break-space (nbsp)
Last modified: 2008-11-22 11:55:28 EST
From Bugzilla Helper:
User-Agent: Opera/9.51 (X11; Linux i686; U; en)
Description of problem:
rpmlint treats non-break-space (nbsp, ASCII A0) as warning.
It seems that rpmlint check the nbsp by search the char "A0" in char arrays.
However it falsely considers characters such as 码 (U+7801) as nbsp, because
its UTF-8 code is E7 A0 81.
Since 码 (meaning: number, code) is frequently used in Simplfied Chinese
summary, so it is good to fix it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Put 码 (U+7801) in Summary or Description in any spec files
2. rpmlint <the spec>
rpmlint returns W: non-break-space
rpmlint does not show such warning
Could you upload a specfile that can be used to test this with somewhere or
attach it to this bug? I'm not sure if I can enter the problematic characters
properly if I try to write one myself.
I think I managed to come up with a reproducer; this should be fixed upstream
and will be in the next post-0.84 release:
(In reply to comment #1)
> Could you upload a specfile that can be used to test this with somewhere or
> attach it to this bug? I'm not sure if I can enter the problematic characters
> properly if I try to write one myself.
In case you still need an sample spec, try man-pages-ko.spec
Thanks, upstream svn head seems to do the job just fine with man-pages-ko.spec.
*** Bug 466671 has been marked as a duplicate of this bug. ***
There is no rpmlint release that contains the fix in any Fedora version yet, reopening.
rpmlint-0.85-1.fc9 has been submitted as an update for Fedora 9.
rpmlint-0.85-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update rpmlint'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9125
rpmlint-0.85-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-0.85-2.fc10 has been submitted as an update for Fedora 10.
rpmlint-0.85-2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.