Embarcadero/DelphiVCL4Python

Form.LoadProps() Can't handle unicode paths

PikuZheng opened this issue · 2 comments

with Form.LoadProps(os.path.join(os.path.dirname(os.path.abspath(__file__)), "Unit1.pydfm")) , there is an issue when the path contains unicode.

image

This is a problem with the string processing encoding in the LoadProps function, and I found that this function will cause the window that appears after PyScripter is run to not be closed.

@PikuZheng thank you to report. I will investigate this issue.