#666430 libpopt0: popt has problems with unicode characters

Package:
libpopt0
Source:
popt
Description:
lib for parsing cmdline parameters
Submitter:
Christoph Anton Mitterer
Date:
2013-11-25 17:39:23 UTC
Severity:
normal
#666430#5
Date:
2012-03-30 17:29:42 UTC
From:
To:
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.