RPM Community Forums

Mailing List Message of <popt-devel>

popt has problems with unicode characters

From: Robert Scheck <robert@rpm5.org>
Date: Sun 24 Nov 2013 - 17:24:49 CET
Message-ID: <20131124162449.GB28784@hurricane.linuxnetz.de>
Hello all,

I am forwarding a message of Christoph Anton Mitterer (Cc'ed) which was
reported at Red Hat Bugzilla. However this does not feel for me like a
downstream thing but more relevant for popt upstream, thus relaying it:

----- Forwarded message -----
Hi.

Popt has apparently problems with unicode characters.
I tried to include some in the descrip and argDescrip field of the
option table, e.g.
- either directly "foo“”bar"
- or escaped "foo\u201c\u201dbar"
and then using the auto help functionallity.

popt reacts quite strangely sometimes it justs works and the characters
are printed correctly, sometimes it however skips the unicode characters
and all between them, but not necessarily for all the unicode characters
used
ie.
"\u201cfoo\u201d bar \u201cbaz\u201d"
may become
bar “bar”
when printed.


Cheers,
Chris.
----- End forwarded message -----

Foreign references for this request are:

 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666430
 - https://bugzilla.redhat.com/show_bug.cgi?id=811801


Greetings,
  Robert


  • application/pgp-signature attachment: stored
Received on Sun Nov 24 17:24:54 2013
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.