summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/widestring.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/ext/widestring.py b/ranger/ext/widestring.py
index 28f38e54..a17e7649 100644
--- a/ranger/ext/widestring.py
+++ b/ranger/ext/widestring.py
@@ -34,6 +34,7 @@ def uchars(string):
 	"""Return a list of characters in a string"""
 	if not PY3:
 		string = string.decode('utf-8', 'ignore')
+		return [c.encode('utf-8', 'ignore') for c in string]
 	return list(string)