User Tag List

Results 1 to 5 of 5

Thread: List object odd character bug

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    List object odd character bug

    When I Load a text file from Binary Data into my List object at runtime, the first line gets an odd character added to it. The attached pic shows what I mean.

    This is only happening on device (NOT in the CF2.5 debugger). I am using beta 284.5. Anyone know what might be happening? I think it is causing my level data (in the text file) to not load for some reason. I assume this because the level data from the text file loads fun on PC.

    photo.jpg

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Was it saved as UTF8 file with BOM (byte order mark). If so save it without BOM (Notepad++ can do it).

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    It was actually saved with an mmf level editor from a list object using the file extension. I can try resaving it but is it possible to update the file object to support UTF8 ?

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    I opened it in Notepad and saved as UTF8 format and that fixed the problem. But is this a limitation of using the File Object with the List Object? And is it possible to work around it now? Or will I need to always resave in Notepad? I am also curious why this only affects the iOS runtime.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    I just realized I can change the output of the level editor's project file to UTF8. That solved the problem. But it is still curious why the issue appeared on ios when run only on a device.

Similar Threads

  1. list wiev, insert character in another columms
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th March 2012, 03:31 PM
  2. List object simply doesn't load a list file...
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 10th February 2012, 12:46 AM
  3. List object - loading File List
    By Nathan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th March 2008, 09:11 PM
  4. bug: List object doesnt show list of files ...
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st November 2006, 11:46 PM
  5. List Object Bug - "Load Files List"
    By MelliGeorgiou in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 1st October 2006, 07:40 PM

Posting Permissions

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