From 08e4be7fa43c99b9acbfe30982d51ef6f881c000 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Dec 2011 11:43:11 -0800 Subject: [PATCH] _aux_env_search: decode unicode more --- pym/portage/dbapi/vartree.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index d93d3c2ea..b9ef58341 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -798,6 +798,9 @@ class vardbapi(dbapi): else: value = [var_assign_match.group(4)] for line in proc.stdout: + line = _unicode_decode(line, + encoding=_encodings['content'], + errors='replace') value.append(line) if have_end_quote(quote, line): break -- 2.26.2