pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
113 stars 69 forks source link

Windows VM ignores image argument with non-ASCII chars #707

Open JanBliznicenko opened 12 months ago

JanBliznicenko commented 12 months ago

Windows VM does not open an image if the image path argument contains non-ASCII characters.

An example where a.image opens á.image does not:

example

The problem occurs if the non-ASCII char is anywhere in the image path argument provided to the Pharo.exe, no matter whether the path is absolute or relative and whether such character is in the mage file name or directory name.

It works in case the containing directory has non-ASCII chars, but the directory is current directory and we use relative path that only contains ASCII chars. All that matters is the string passed as an argument, not the actual full absolute path.

Tested on: Windows 11 VM 10.0.0.8 Pharo image 11

Issue is not present on Linux.

guillep commented 12 months ago

Thanks @JanBliznicenko we will look into it.