def _escape_non_ascii_chars(string):
    """
    Returns a copy of the given string with all non-ASCII characters replaced
    in Python Unicode-Escape encoding (e.g., '\u2013').
    """
    return ''.join([(ord(c) < 128 and c) or r'\u{0:0>4x}'.format(ord(c))
                    for c in string])