Changeset 1364


Ignore:
Timestamp:
02/12/07 16:31:56 (13 years ago)
Author:
tarmo
Message:

Changed XML encoding to match what the Flash player is expecting.
May fix the unicode issue with the PILOT player.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PILOTMaterial.py

    r1264 r1364  
    259259                scene_type=u' type="questions"' 
    260260        xml=xml+u'</pilot>' 
    261         return xml.encode('utf-8') 
     261        # We use UTF-16 because that way we get the BOM, which Flash XML parser requires. 
     262        return xml.encode('utf-16') 
    262263 
    263264 
Note: See TracChangeset for help on using the changeset viewer.