search for: backslashreplac

Displaying 2 results from an estimated 2 matches for "backslashreplac".

Did you mean: backslashreplace
2020 Jul 06
1
Re: [PATCH v3] python: Fix UnicodeError in inspect_list_applications2() (RHBZ#1684004)
...u a few questions about this: - Does the SUSE RPM output contain a mix of encodings? Or is it all latin-1 or utf-8? - Is there any indication of the correct encoding from RPM? - Can we not instead escape the bad sequences using whatever is the C-level equivalent of str.encode(..., 'backslashreplace')? Or I guess better, escape them as Unicode compatibility characters https://en.wikipedia.org/wiki/Unicode_compatibility_characters Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpres...
2020 Jun 03
2
Re: [PATCH v3] python: Fix UnicodeError in inspect_list_applications2() (RHBZ#1684004)
On Wed, May 13, 2020 at 10:06 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > On Sun, Apr 26, 2020 at 09:14:03PM +0300, Sam Eiderman wrote: > > The python3 bindings create PyUnicode objects from application strings > > on the guest (i.e. installed rpm, deb packages). > > It is documented that rpm package fields such as description should be > > utf8 encoded