[Bug 781836] New: luit is broken
https://bugzilla.novell.com/show_bug.cgi?id=781836 https://bugzilla.novell.com/show_bug.cgi?id=781836#c0 Summary: luit is broken Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jaanvajakas@hot.ee QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1255.0 Safari/537.8 SUSE/23.0.1255.0 It seems that iconv works correctly but luit always thinks that the input is UTF-8 and skips characters which are not UTF-8 (my system locale is LANG=et_EE.UTF-8). Reproducible: Always Steps to Reproduce: 1. Open Konsole and run iconv -t 'ISO 8859-13' <<<'aõäöüb' | luit -c -encoding 'ISO 8859-13' >iso.txt 2. Run echo 'aõäöüb' | luit -c -encoding 'ISO 8859-13' >utf.txt Actual Results: 1. iso.txt contains 3 bytes: "ab" and newline. 2. utf.txt contains 11 bytes: "aõäöüb" (in UTF-8) and newline. Expected Results: 1. iso.txt should contain 11 bytes ("aõäöüb"). 2. utf.txt should contain 19 bytes ("aĆµĆ¤Ć¶Ć¼b"). -- 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=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c
Christian Trippe
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c2
--- Comment #2 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c3
--- Comment #3 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c4
--- Comment #4 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c6
--- Comment #6 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c7
--- Comment #7 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c8
--- Comment #8 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c9
--- Comment #9 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c10
--- Comment #10 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c11
--- Comment #11 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c12
--- Comment #12 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c14
Jaan Vajakas
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c15
--- Comment #15 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c16
--- Comment #16 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c17
--- Comment #17 from Jaan Vajakas
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c18
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c19
Jaan Vajakas
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c20
--- Comment #20 from Stefan Dirsch
(In reply to comment #18)
I don't understand exactly what you mean. Do you mean changing the BuildRequires in the RPM specfile luit.spec and creating an RPM using rpmbuild?
No, via "osc build" in the buildservice. Otherwise it wouldn't change anything. The buildservice creates a buildsystem from the scratch, does a chroot into it and builds the package.
But the issue indeed seems to be related to the switch to libfontenc: when I downloaded luit-20121014.tar.bz2 from https://build.opensuse.org/package/files?package=luit&project=X11%3AXOrg and ran the commands
./configure && make iconv -t 'ISO 8859-13' <<<'aõäöüb' | ./luit -c -encoding 'ISO 8859-13'
then the last line of the output was "audv|b" . When I replaced the first command with
./configure --disable-fontenc --enable-iconv && make
then the output was "aõäöüb", as desired.
Ok. So it appears to be related to the switch to libfontenc. -- 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=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c21
--- Comment #21 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c22
--- Comment #22 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c23
--- Comment #23 from Thomas Dickey
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c24
--- Comment #24 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c25
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c26
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=781836
https://bugzilla.novell.com/show_bug.cgi?id=781836#c27
--- Comment #27 from Jaan Vajakas
participants (1)
-
bugzilla_noreply@novell.com