DelphiVCL4Python icon indicating copy to clipboard operation
DelphiVCL4Python copied to clipboard

Form.LoadProps() Can't handle unicode paths

Open PikuZheng opened this issue 1 year ago • 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

PikuZheng avatar Apr 24 '24 13:04 PikuZheng

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.

fansxs avatar Apr 25 '24 07:04 fansxs

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

lmbelo avatar Apr 25 '24 11:04 lmbelo