PDA

View Full Version : Classic Modlues don't convert image & symbol (causing a load issue in UNITY)



zombielord
May 13th, 2020, 19:44
The & symbol in an image filename causes modules created in classic to not load in Unity. (The & symbol isn't converted, don't know if the fix should be implemented in Classic, or UNITY)


https://www.fantasygrounds.com/forums/showthread.php?41833-Project-Author&p=508748&viewfull=1#post508748

LordEntrails
May 13th, 2020, 20:26
Don't know if the devs are aware or what they can do. But XML doesn't like special characters, so it's always best not to use them. For instance, double spaces cause problems too since xml interprets them differently.

zombielord
May 13th, 2020, 20:41
Yeah, I just renamed my files for a simple fix.
However, a Sanitize Input function could be created for information written to xml files. (if there's not one already)

Mortar
May 13th, 2020, 20:46
Unity is using the correct output...its Classic that is the problem...

zombielord
May 13th, 2020, 20:51
Unity is using the correct output...its Classic that is the problem...
Agreed. It's an issue with modules created in classic . but I don't know where they want to create a fix though so I figured I'd post the issue here.
UNITY could have a work-around, or they could fix the output in Classic. OR just ignore the whole issue and make a note of it being a "Known Issue" for importing modules from Classic.

Mortar
May 13th, 2020, 21:12
This was Moon Wizard's comment on a similar post in March: https://www.fantasygrounds.com/forums/showthread.php?54871-Font-Character-issues-in-FGU&p=485371&viewfull=1#post485371

celestian
May 13th, 2020, 21:34
This was Moon Wizard's comment on a similar post in March: https://www.fantasygrounds.com/forums/showthread.php?54871-Font-Character-issues-in-FGU&p=485371&viewfull=1#post485371

That thread is about text in a Story and Ref-manual which is a simple fix. Not images in modules. Changing those or making a new requirement to remove them everywhere will cause some issues with various products that exist currently.

zombielord
May 14th, 2020, 17:26
It's a hack-ish fix but I threw something together https://www.fantasygrounds.com/forums/showthread.php?57870-Sanitize-Mod-Files-Windows-Command-Script