Problem of converting selected file path with Chinese into string

Here I used select file path to import a familytype file into the revit file. The file path turns out to be a decoded string and can not be identified by the 3rd-party clockwork node.
If I input the file path by typing the string of path in a code block then it works out fine.

I have tried methods like urllib.parse module but by now this is still not functional.

image

SyntaxError: Non-ASCll character "\xe2’ in file C:MProgram Files\Python39Liblurllibiparse.py online 45, but no encoding declared; see PEP 263 – Defining Python Source Code Encodings | peps.python.org for details

Ok i’m not even going to pretend i know anything about this, infact it actually looks like
you know more than i do for sure…

But have you tried this caveman solution? where you convert to string only.
Its strange because it was already a string from the File Path node but i dunno.

def convert_to_string(input_list):
    if isinstance(input_list, list):
        return [convert_to_string(item) for item in input_list]
    else:
        return str(input_list)
        
OUT = convert_to_string(IN[0])