Package: gettext
Version: 0.16.1-1
Severity: normal

$ cat buggy.py
def _(s):
  return s

s1 = _(u'\u00f3')
s2 = _(u'\xf3')
print s1 == s2

$ python buggy.py
True

$ xgettext -L python buggy.py
xgettext: Non-ASCII string at buggy.py:5.
          Please specify the source encoding through --from-code.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages gettext depends on:
ii  gettext-base                  0.16.1-1   GNU Internationalization utilities
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries

Versions of packages gettext recommends:
ii curl 7.16.2-6 Get a file from an HTTP, HTTPS or ii wget 1.10.2-3 retrieves files from the web

-- no debconf information

--
Jakub Wilk


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

Reply via email to