Hello, I'm in the process of copying each of the ruby files to an external location (inside of a scripts folder inside of my game), so that I can easily edit them with an IDE.
I'm coming across a snag on several files that are causing problems when the game is loading these files, and these relate to some of the more exotic characters, such as Japanese text characters, the fancy full letters in the Game_Troop class, etc. If I delete or replace these characters, then the game loads fine. However, I want to keep them, for now, to have a complete external file layout of the default scripts. (I'm planning on making a template in my IDE for personal use for any future projects I might do.)
I tried the normal approach to handle character encodings in ruby, and that's to tack on the # encoding UTF-8 at the top of each file and hope for the best. But my best is not good enough.
So I'm asking here to see if anyone knows the encoding used by the Script Editor in VX Ace. If you do, please tell it to me, and future encoding enquirers.
I'm coming across a snag on several files that are causing problems when the game is loading these files, and these relate to some of the more exotic characters, such as Japanese text characters, the fancy full letters in the Game_Troop class, etc. If I delete or replace these characters, then the game loads fine. However, I want to keep them, for now, to have a complete external file layout of the default scripts. (I'm planning on making a template in my IDE for personal use for any future projects I might do.)
I tried the normal approach to handle character encodings in ruby, and that's to tack on the # encoding UTF-8 at the top of each file and hope for the best. But my best is not good enough.
So I'm asking here to see if anyone knows the encoding used by the Script Editor in VX Ace. If you do, please tell it to me, and future encoding enquirers.