Unicode file-names not displayed properly in Console

As you can see, the entire path is not displayed properly.
Thank you.
@Yaron10 With which version of the plugin. Could you also paste as short example code which triggers this issue. Is it just the displaying of the error message or is it also not possible to use unicode path.
@chcg,
With which version of the plugin.
v1.1.0.53.
Could you also paste as short example code which triggers this issue.
editor.copy(
Add that line to a file, save it as טסט.py and place it in the scripts folder.
On running it (no problem in this regard), you get the second error shown in the screenshot above: the file-name (טסט.py) is displayed as 84F5~1.py and the path (C:\Program Files\Notepad++\NP\plugins\Config\PythonScript\scripts) is also wrong.
Thank you for looking into it. I appreciate it.
Unfortunately that is not wrong, but just the short path name (https://msdn.microsoft.com/en-us/library/windows/desktop/aa364989(v=vs.85).aspx) of the file used behind the scenes to access unicode file names/path, because direct input of the unicode name to python api didn't work.
Maybe this could be changed with python 3 (#36), but currently I see no chance to modify that without breaking unicode script filename support from #60. Also the file link in the console error output is working for me.
Thank you for the explanation. And thanks again for looking into it.
Maybe this could be changed with python 3 (#36),
So I suppose this issue shouldn't be closed for the time being.
Let's keep it open, but currently I see no easy fix based on python 2.7. Maybe some deeper inspection of the python sourcecode gives some hints, if UTF-8 filenames are supported, but from the current checks, tests and internet searches it doesn't look promising that this is possible. Therefore the "workaround" with the windows shortname was chosen.
Thanks again. I appreciate your work.
Allow me another related question.
STR:
Open a file named טסט.txt in NPP.
Run (from the console or in a script) notepad.getCurrentFilename().
Result:

Is that fixable?
Off-topic but still related:
Can I pass $(FULL_CURRENT_PATH) to a python-script via a command in shortcuts.xml?
Thank you.
Regarding notepad.getCurrentFilename() and the corresponding result. This seems to be a problem within: https://github.com/bruderstein/PythonScript/blob/77a365bd1ffa4b31f0d174b67077c8c35b1074b2/PythonScript/src/PythonConsole.cpp#L188-L208 the input as boost::python:str is UTF8 encoded, but detected as plain string by PyUnicode_Check(). That seems to show it just as encoded version. Need further investigation.
@chcg,
Thank you for looking into the issue and further investigating it.
@Yaron10 I just retested the described issues with the current alpha release https://github.com/bruderstein/PythonScript/releases/tag/v3.0.4 and the issues seems to be fixed with the update to python3 and the changes in the script file loading.
@chcg,
Thank you for your work and for updating here. :+1: I'd rather wait a bit before switching to v3.