Bug 208511
| Summary: | "info" cannot deal with CJK characters | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lynnboy <li_yinan> |
| Component: | texinfo | Assignee: | Vitezslav Crhonek <vcrhonek> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | pertusus, triage |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | bzcl34nup | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-20 10:45:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
lynnboy
2006-09-28 22:39:07 UTC
Created attachment 141191 [details]
texinfo test file
I think I have reproduced this. Essentially, what is happening is the standalone info is splitting up multibyte characters when the terminal window is resized. Chip (In reply to comment #0) > > Description of problem: > The standalone info cannot realize that a CJK character takes double width of a ASCII character and is individable. I should correct you here: the CJK character takes three times the width of an ASCII character. But anyway, your point is still true: I have reproduced this problem. However, the bug is reported against the wrong component: the emacs packages do not supply the standalone info program, so I am going to reassign this bug to the texinfo maintainer. Chip If I'm not wrong there is no utf8 support in info. I don't even understand why some multibyte characters appear rightly. Created attachment 142775 [details]
Make makeinfo multibyte-aware
I have just sent this patch upstream.
Created attachment 142865 [details]
Make makeinfo multibyte-aware
Created attachment 146442 [details]
Clean up of the above patch: use the mbswidth module from gnulib
Created attachment 148073 [details]
Add !HAVE_MBRTOWC fallbacks to gnulib's multibyte handling interfaces
Created attachment 148074 [details]
Make info multibyte-aware
The above patches have all been submitted upstream, and handle everything but
input of multibyte characters in the info modeline (e.g. searching for
multibyte characters).
Fedora apologizes that these issues have not been resolved yet. We're sorry it's taken so long for your bug to be properly triaged and acted on. We appreciate the time you took to report this issue and want to make sure no important bugs slip through the cracks. If you're currently running a version of Fedora Core between 1 and 6, please note that Fedora no longer maintains these releases. We strongly encourage you to upgrade to a current Fedora release. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained and closing them. http://fedoraproject.org/wiki/LifeCycle/EOL If this bug is still open against Fedora Core 1 through 6, thirty days from now, it will be closed 'WONTFIX'. If you can reporduce this bug in the latest Fedora version, please change to the respective version. If you are unable to do this, please add a comment to this bug requesting the change. Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we are following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. And if you'd like to join the bug triage team to help make things better, check out http://fedoraproject.org/wiki/BugZappers This bug is open for a Fedora version that is no longer maintained and will not be fixed by Fedora. Therefore we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen thus bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. Is it fixed, or not? No, it is not. Patches sent to upstream by Miloslav, but still not included in 4.11. But it should be fixed in 4.12 (see Changelog), so I will check it after update to 4.12 in Rawhide. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I tested 4.12 version... it still doesn't work:( Fixed in texinfo-4.13-1. |