StDoodle
Minion
While KoL seems to use html entities for most non-ascii characters, it makes a few exceptions, such as the fight text vs. the Floating Platter of Hors D'Oeuvres.
The fight text for said monster includes accented letters that, when saved to a data file via file_to_map() and reloaded via map_to_file(), are no longer correct.
For now, I'm using a couple of regular expressions to find and replace these accented characters, but there seems to be a significant overhead to each piece of string manipulation I do in ash, and doing a complete check for all of these characters would result in noticeable performance hits.
I don't know if this is really fixable -- I could understand if it would involve as much of a performance hit if done by mafia as it would in ash, and in that case I'll just chuck the fight page condensing I'm working on all together.
If it seems like I must be doing something wrong and these characters should round-trip ok, please let me know.
The fight text for said monster includes accented letters that, when saved to a data file via file_to_map() and reloaded via map_to_file(), are no longer correct.
For now, I'm using a couple of regular expressions to find and replace these accented characters, but there seems to be a significant overhead to each piece of string manipulation I do in ash, and doing a complete check for all of these characters would result in noticeable performance hits.
I don't know if this is really fixable -- I could understand if it would involve as much of a performance hit if done by mafia as it would in ash, and in that case I'll just chuck the fight page condensing I'm working on all together.
If it seems like I must be doing something wrong and these characters should round-trip ok, please let me know.