From an old SkyUI thread:
I was hoping someone could explain a little bit more clearly what is meant by "Papyrus string caching" in this context. I am working on an MCM menu that uses things like GetName(), and I'm having an issue where one string comes out as completely lowercase, and I can't figure out why. I don't think that this exact string was used anywhere else beforehand, so from the description above I wouldn't think it would be affected by string caching, but I'm probably just misunderstanding what that means.
The specific issue right now is that I'm printing out a list of all enchantment names using a formlist of base enchantments that I call GetName() on. Every one shows up fine, except for "resist magic", which shows up in all lowercase. I'd like to find some kind of workaround for the problem if possible - I can make a parallel array of strings if I have to, but GetName() is easier and more flexible if I make changes to the list later - and there are other places where I really need to rely on GetName(), and localization wouldn't be an option.
Thanks in advance.
Edit: I also tried testing MyForm.getName() + " " to append an extra space, but that didn't help.