HannahNBogen / OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢
https://openrct2.io
GNU General Public License v3.0
0 stars 0 forks source link

Accented letters in rides/attraction names don't save correctly #1

Closed lshearer20 closed 4 years ago

lshearer20 commented 4 years ago

OS: [Windows 10] Version: [v0.2.3]

When naming a ride or attraction within a park with a name that has accented letters, (ie, Pequeño Coaster), the accented letter will be removed from the name of the attraction all together when saving/ reloading the park (ie, Pequeño will now be Pequeo upon reload). If the name only consists of accented letters, then it will be renamed to original name with a "0" at the end (ie, Ferris Wheel 0), even if there already exists a "Ferris Wheel 0".

Steps to reproduce:

  1. Create a ride/attraction in a park and name it with a name containing an accented letter.
  2. Save/ reload the park.
  3. Find the attraction and see how the accented letter in the name has been removed, or the entire attraction has been renamed.

Screenshots / Video:

Video of a ride being name using an accent and it not being there after reloading the game. https://photos.app.goo.gl/D7K5Pp5WnYbAg7fF6

lshearer20 commented 4 years ago

So this commit seemed to fix the issue and now when reloading the saved ride name it will still have accents in the name. If you wish to test this fix just go through the same steps as my issue video and you will see the accented letters now save and reload correctly. bf885147029679b4c5466e39e7dadfa1856523bd

lshearer20 commented 4 years ago

Issue - Accented letters get removed after reloading