##// END OF EJS Templates
Safely encode paths in compress_user...
Safely encode paths in compress_user - Avoids a `UnicodeDecodeError` when a tooltip that includes a non-ascii pathname is shown on Python 2 - Related to #8543

File last commit:

r6547:cca0bfa1
r21517:cda41d92
Show More
nonascii.py
5 lines | 175 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# ������������������� <- Cyrillic characters
from __future__ import unicode_literals
u = '����'