bburky / playnite-non-steam-shortcuts

A Playnite extension to create non-Steam shortcuts
MIT License
38 stars 2 forks source link

Bug when importing #2

Closed JamyPatch44 closed 4 years ago

JamyPatch44 commented 5 years ago

Hi, I sometimes get this bug when importing games:

https://i.imgur.com/3rBhth1.png

It forces me to restart my PC or the extension won't work again. Any ideas what it may be please?

bburky commented 5 years ago

Oh... I know what causes this. I forgot that names of games can have Unicode characters. I'll try to fix this soon

JamyPatch44 commented 5 years ago

Thank you! :)

JamyPatch44 commented 4 years ago

Did you have any luck with this please?

bburky commented 4 years ago

Sorry for completely ignoring my Playnite projects for a while, I saw your Reddit post and decided to fix this.

I just implemented a change in 855f36884aa348d99a671491507b049afe7dda87 to encode all strings as UTF-8. It looks like it works for me locally. I tested with some accented Unicode characters, and some emoji. Everything looks like it works.

Can you please download an updated version of the extension and try it?

JamyPatch44 commented 4 years ago

Sorry for completely ignoring my Playnite projects for a while, I saw your Reddit post and decided to fix this.

I just implemented a change in 855f368 to encode all strings as UTF-8. It looks like it works for me locally. I tested with some accented Unicode characters, and some emoji. Everything looks like it works.

Can you please download an updated version of the extension and try it?

Worked perfectly, thank you :)