spice2x / spice2x.github.io

🌶️ spice2x is a spicier fork of SpiceTools with hundreds of bug fixes and new features 🌶️
https://spice2x.github.io/
GNU General Public License v3.0
116 stars 2 forks source link

Spice fails to launch if %appdata% contains non-Latin chars #210

Closed sp2xdev closed 3 months ago

sp2xdev commented 3 months ago

Create a user with Unicode chars, such as Japanese name

Launch spicecfg / spice / spice64

Observe crash

This has always been an issue since original spicetools - basically all versions probably since spicecfg was introduced.

sp2xdev commented 3 months ago

I have code for the default paths that access %appdata%, but fixing command line parameters for things like -cfgpath will be much more involved, since a lot of the code base assumes std string / non-wide char.