View Single Post
Old 04-21-2022, 01:39 PM   #42
erik.ootp
OOTP Developments
 
erik.ootp's Avatar
 
Join Date: Sep 2021
Location: Berlin, Germany
Posts: 107
Quote:
Originally Posted by RMc View Post
One thing I've always done with the Names file is add an apostrophe at the end of every last name (Smith becomes Smith', for example); that way I can instantly tell if a player is a "fictional".

Now? Sheesh!
Shouldn't be a big task.
Open the names.xml in some text editor, highlight all of the last names (CTRL + G can be used to go to a specific line) and replace every </EN> you find with &apos;</EN>



Thanks for bringing this exact example up, because you will now also need to worry about escaping certain characters.
Those are the characters and their replacements to not break the xml structure:
" &quot;
' &apos;
< &lt;
> &gt;
& &amp;
erik.ootp is offline   Reply With Quote