[Bug 393723] New: zypper: tabular output messed up in lines containing special characters
https://bugzilla.novell.com/show_bug.cgi?id=393723 Summary: zypper: tabular output messed up in lines containing special characters Product: openSUSE 11.0 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: bugreports@infi.de QAContact: qa@suse.de Found By: --- The tabular output of "zypper se" (zypper version 0.11.3) is messed up in lines where an abbreviated description contains special characters such as German umlauts. An example:
zypper se kde Lese installierte Pakete...
S | Name | Zusammenfassung | Typ --+--------------------------------------+--------------------------+----------- i | NetworkManager-kde | KNetworkManager applic-> | Paket | NetworkManager-novellvpn-kde | novellvpn support for -> | Paket [...] | kdeartwork3-sound | Sound-Themes für KDE | Paket i | kdeartwork3-xscreensaver | XScreensaver-Unterstü-> | Paket | kdeartwork4 | kdeartwork base package | Paket [...] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=393723
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c1
Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=393723
User bugreports@infi.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c2
--- Comment #2 from Marc Ensenbach
https://bugzilla.novell.com/show_bug.cgi?id=393723
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c3
Josef Reidinger
If you mean "special character directly preceeding '->'": no; if you mean "special character somewhere in the description before '->'": yes.
I think that the function that clips to long descriptions treats ü as two bytes, so that length of output and length of internal representation are no longer the same, thus causing messed up output lines.
thanks, this is useful information. I assign it to zypper maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=393723
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c4
--- Comment #4 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=393723
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c5
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=393723
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393723#c6
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=393723
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=393723
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com