1. #1
    Mortar's Avatar
    Join Date
    May 2014
    Location
    New Brunswick, Canada
    Posts
    989
    Blog Entries
    18

    Windows ALT Codes, XML and FGU/FGC Compatibility

    Throwing this out there as an FYI for all the other community devs and other interested parties.

    To put it mildly, compatibility between modules built for both clients is going to a huge pain in the backside.

    The ALT codes that the Classic client saves when you do a module export for the most part do not work in the Unity client, they are a Windows standard and NOT valid XML characters under any XML standard. The Classic client is extremely liberal in its application of the XML standards - and has been since before Doug and the gang took over.

    Codes from 00 - 31 and 127-159 are control characters so don't function in Unity the same way as we expect them to in Classic. The two exceptions I have run across are the Line Feed (& #10 and Carriage Return (& #13.

    Other character codes that you see in exported modules like & #133; & #146; & #147; & #148; & #150; and & #151; will display boxes as they are invalid in Unity's tighter application of the standard.

    Fun times ahead...
    Ultimate License Holder
    List of completed DLC products

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    24,629
    The fonts need to be adjusted to display the symbols needed.

    For example, here's the PFRPG2 ruleset in Unity:



    This shows the &#... codes in the XML and the corresponding symbols in the interface.

    Now, I'm not sure exactly what JPG and Carl did to the fonts for PFRPG2, but this shows that it might be possible to do the same for other unique characters?
    Attached Images Attached Images
    FG Con 16 Fantasy Grounds Online RPG Convention - Friday April 24th to Sunday April 26th, 2020
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in