Ya, I do have a few with long hand tutorials of some of the examples. Takes a lot of time...those tutorials.Quote:
Originally Posted by MuddyMole
Would you like to put those mfa's on my site, or you just want to go solo with your idea?
Marv
Printable View
Ya, I do have a few with long hand tutorials of some of the examples. Takes a lot of time...those tutorials.Quote:
Originally Posted by MuddyMole
Would you like to put those mfa's on my site, or you just want to go solo with your idea?
Marv
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.
Ok MuddyMole and thanks.
Would you please PM me with the link?
Marv
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
bump
What is the problem with the extension?
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.
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...
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?
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.