canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.54k stars 635 forks source link

Multipass Installation Issue with Windows Profile Containing Multilingual Characters #3452

Closed sionjlewis closed 3 months ago

sionjlewis commented 3 months ago

Describe the Bug

I am unable to install Multipass using a Windows profile that contains multilingual characters. I believe this had been fixed in 2022, but that bug seems to have crept back in.

As a workaround for the installer errors, I used another profile to install Multipass, and that works as expected. However, that is not ideal due to having everything else set up in my main profile. I then copied the multipass_cert.pem and multipass_cert_key.pem into my main profile, and this is what the error looks like:

C:\Users\SiônJLewis>multipass version
[error] [client] Caught an unhandled exception: failed to open file 'C:/Users/SiônJLewis/AppData/Local/multipass-client-certificate/multipass_cert.pem': No such file or directory(2)

It would appear that neither the installer nor the application can correctly resolve my ô character.

To Reproduce

  1. Create a Windows 10 or 11 profile containing a character from the 'Latin Extended-A' character set.
  2. Note the error when trying to create/deploy the two .pem files.

Expected Behavior I would like to be able to run the installer and application from my SiônJLewis profile.

Additional Info

sharder996 commented 3 months ago

Hi @sionjlewis, Yes, this is an issue we are aware of on Windows. It has already been reported in #1314, so I am going to close this issue as a duplicate. Feel free to reopen if your issue is fundamentally different though.