Package: filters
Version: 2.46
Severity: normal

Using 'uniencode' on beyond-ASCII text results in crippled output:

Great Example.
-> Ԍrеаt Еⅹаⅿρⅼе.
Grëät Ëxämplë.
-> Ԍrëät Ëхäⅿрⅼë.

The following patch fixes it for me, although I'm not sure about its
general applicability on legacy systems, for example.

--- /usr/games/uniencode        2008-10-27 05:06:07.000000000 +0100
+++ uniencode   2008-12-06 21:40:21.000000000 +0100
@@ -2,6 +2,7 @@
 # Ⅽоηνеrt аѕⅽіі tօ υtf‐8.
 use utf8;
 binmode STDOUT, ":utf8";
+binmode STDIN, ":utf8";
 
 %Δ=(
 "~" => [],

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages filters depends on:
ii  libc6                         2.7-11     GNU C Library: Shared libraries

filters recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to