Package: unicode
Version: 2.7-1
Severity: normal

Dear Maintainer,

I get the impression the encode/decode handling for Python 2/3
compatibility is broken:

$ paracode -t mirror oy
Traceback (most recent call last):
  File "/usr/bin/paracode", line 252, in <module>
    main()
  File "/usr/bin/paracode", line 204, in main
    to_convert = ' '.join(args).decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'


AFAICT, only argument handling is affected:

$ echo oy | paracode -t mirror
oʎ

Regards,

Stephen


-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable'), 
(100, 'unstable-debug'), (100, 'testing-debug'), (100, 'unstable'), (100, 
'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages unicode depends on:
ii  python3  3.7.3-1

Versions of packages unicode recommends:
ii  unicode-data  12.1.0~pre1-2

unicode suggests no packages.

-- no debconf information

Reply via email to