[Konversation-devel] [konversation] [Bug 345701] New: CMD -script in /usr/share/kde4/apps/konversation/scripts/ has problems with UTF-8 (Python 2.x)
Sputnik
sputnikshock at gmail.com
Mon Mar 30 20:26:38 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=345701
Bug ID: 345701
Summary: CMD -script in
/usr/share/kde4/apps/konversation/scripts/ has
problems with UTF-8 (Python 2.x)
Product: konversation
Version: 1.5
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: konversation-devel at kde.org
Reporter: sputnikshock at gmail.com
>From IRC: #konversation at freenode.net
[20:23:58] The cmd-script in /usr/share/kde4/apps/konversation/scripts/ for my
Konversation 1.5-master #4303 has problems with UTF-8. Some output does not
come through. Has someone fixed this already in between?
[20:24:57] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
0: ordinal not in range(128) - the typical python problem before python 3…
[…]
[20:25:59] <Sho_> but yeah, I just tried /cmd echo 대단하다 and got nothing
[20:26:10] <Sho_> don't have error output atm, but guessing it ran into the
same
[20:26:42] <Sho_> Could you file a ticket at http://bugs.kde.org/ please?
[20:27:22] <Sho_> or 감사합니다 in keeping with the above testcase
Reproducible: Always
Steps to Reproduce:
1. start konversation from the terminal
2. type /cmd echo 대단하다
Actual Results:
3. output on the terminal:
traceback (most recent call last):
File "/usr/share/kde4/apps/konversation/scripts/cmd", line 49, in <module>
stdout = [line.rstrip() for line in result[0].decode().splitlines() if
len(line.strip())]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 0: ordinal
not in range(128)
대단하다 inside of Konversation
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Konversation-devel
mailing list