User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22

Thread: XML to Array Converter with Special Character Support

  1. #11
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MuddyMole
    I don't really mind - just surprised you bothered. I keep meaning to fix up all my examples, and make a website for them (a bit like yours, but with articles explaining the events in each file).
    Ya, I do have a few with long hand tutorials of some of the examples. Takes a lot of time...those tutorials.

    Would you like to put those mfa's on my site, or you just want to go solo with your idea?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  2. #12
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    You're welcome to add anything from my skydrive account to your site if you want to. I think there are few quite nice examples there, if you can bothered to sift through all the junk.
    I probably won't get around to making the new examples anytime soon.

  3. #13
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Ok MuddyMole and thanks.

    Would you please PM me with the link?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #14
    Clicker Multimedia Fusion 2 Developer
    Blue66's Avatar
    Join Date
    Jan 2008
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey guys

    I know it's been a little while, but I have been in contact with Vortex2, the guy who wrote the EasyXML extension. He was kind enough to upload his source code and grant permission to modify his code to figure out what the problem is. I have never written an extension myself, so I think it would take me quite some time to figure out what the problem could be. But maybe someone of you guys has more experience and can take a look at the source code and make a modification?

    You can find the source code for the extensions here:
    http://www.commercerecycle.com/admin...extensions.htm

  5. #15
    Clicker Multimedia Fusion 2 Developer
    Blue66's Avatar
    Join Date
    Jan 2008
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump

  6. #16
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What is the problem with the extension?
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #17
    Clicker Multimedia Fusion 2 Developer
    Blue66's Avatar
    Join Date
    Jan 2008
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It does not support all the ASCII characters needed for languages like German, Czech, Swedish and so on. So when a character like ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïð is in my xml and I convert it, apparently the EasyXML extension does not support them and they become scrambled symbols in my array.

  8. #18
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Alright, time for some apologies...

    @DavidN: Sorry, you're right - the problem is the way the .xml file is encoded.

    @Blue66: Sorry, but I sent you on a bit of wild goose chase. I'd ruled out every other part of my program, so figured the EasyXML extension must be the problem, but after doing a quick test, it turned out that wasn't it either. The problem is indeed the kind of encoding Excel uses.

    Fortunately, the solution is simple:
    1. open up the xml file in notepad
    2. say "file -> save as"
    3. the "encoding" will be set to "UTF-8" - change it to "ANSI" and click "save"
    4. proceed as normal...

  9. #19
    Clicker Multimedia Fusion 2 Developer
    Blue66's Avatar
    Join Date
    Jan 2008
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I do this, it works in the game. But after the change of encoding, Excel does not read the special characters anymore (they just vanish from the document when I open it in Excel again) and also Excel still saves the file in UTF8 format, so I will have to change encoding each time I save the document. I don't see a way to change the encoding in Excel directly. Would it be possible to integrate this process of changing file encoding into the array converter itself before it converts it into the array so it doesn't matter that my original file is in UTF8?

  10. #20
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    No, there's no other way around it, and it only takes a couple of seconds anyway. The only real issue is that you can't convert back from Array to XML if your array contains special characters.
    I'm not going to bother modifying the converter now because the source file I have is of a much older version than the exe that people can download - so I'd have to go back and fix all the same bugs again to make it as stable, and re-add all the new features, which was a LOT of work - just so I can add one feature that 99% of users don't care about.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Is RC4 going to support binary data (array)?
    By SoftWarewolf in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 29th January 2013, 08:59 AM
  2. XML Spreadsheet -> MMF2 Array Converter
    By MuddyMole in forum File Archive
    Replies: 26
    Last Post: 21st August 2012, 05:18 PM
  3. SWF converter trouble
    By Spikeman in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 7th July 2011, 12:39 PM
  4. Character Image: Load Character Images from Folder
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th May 2011, 06:56 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
  •