Displaying 1 result from an estimated 1 matches for "xf6rgen".
2020 Apr 25
1
Re: [PATCH v2] python: Fix UnicodeError in inspect_list_applications2() (RHBZ#1684004)
Hi Nir,
I think latin1,
How do you think we should handle latin1 errors then? Replace on latin1 or
replace on utf-8?
for codec in ["utf8", "latin1"]:
try:
return decode(b, codec)
except:
pass
return decode(b, "utf8", errors="replace")
(Pseudocode, will be implemented in c)
On Thu, Apr 23, 2020, 21:34 Nir Soffer <nsoffer@redhat.com>