• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Saving and loading txt files with symbols

V

vicentcamison

Guest
So I'm creating this android game where you can create your own levels and save them. Those levels are saved in a .txt file inside the device's memory.

One of the things I need to save and load is the level's name, which might contain characters like á, Ö, etc that aren't compatible with ANSI.

I could prepare those files with UTF-8 encoding beforehand. However, I can't add those files as included files in Game Maker because they are going to be modified by the user, and Game Maker's included files can't be modified.

Is there a way to have Game Maker create .txt files with UTF-8 encoding, or a workaround to get this?

Thank you for your time :)
 
Top