thedogcow Posted March 21, 2004 Share Posted March 21, 2004 Just wondering how to save the xml as unicode, as this is the source of my xml not working Link to comment Share on other sites More sharing options...
visaversa Posted March 21, 2004 Share Posted March 21, 2004 open your xml in notepad or wordpad, save as "unicode" type.thats it... Link to comment Share on other sites More sharing options...
thedogcow Posted March 21, 2004 Author Share Posted March 21, 2004 thanx m8 Link to comment Share on other sites More sharing options...
mconger Posted March 25, 2004 Share Posted March 25, 2004 Wraith: Great work. this little guy is a lifesaver.I did run into a glitch when I changed over to 1.0.5. I'm running an unattended install (not from CD, won't fit.). I stage everything onto the local laptop from the network, including Xplode and the XML for the platform. It appears something gets lost in using xcopy or copy to stage the xml over to the new platform. The original XML on the network works fine, but any copied XML just gets a complaint of it not being in Unicode format. Does anyone have any idea how to copy a Unicode ASCII file and maintain that encoding? I've tried xcopy and /a and /b switches on copy. No luck.Thanks! Link to comment Share on other sites More sharing options...
SlimShady Posted March 25, 2004 Share Posted March 25, 2004 I can't answer your question, sorry.But I have a workaround:- Copy the contents of the ASCII XML file- Create a new textfile- Paste the content into the file- And save as Unicode Link to comment Share on other sites More sharing options...
mconger Posted March 25, 2004 Share Posted March 25, 2004 Slim,Thanks, but I have a working Unicode file on my server, but when that file is copied to the platform where the unattended is being staged it apparently looses that encoding. Doesn't exactly work for an unattended automated isntall to have to go through and rebuild those xml files by hand on every platform. Link to comment Share on other sites More sharing options...
Alanoll Posted March 26, 2004 Share Posted March 26, 2004 when does the file get copied over?if you're running it at GUIRunOnce and copying over, then starting XPlode, you could just point XPlode to use the XML file directly on the network.you could try the /G /K /Xone might work, dunno Link to comment Share on other sites More sharing options...
KMan Posted March 26, 2004 Share Posted March 26, 2004 Hi!did you check the file after copying it ?it would be helpful to know what actually changed.is it really converted back to ansi, or did it loose its unicode header ?and this might be a little extraodinary for such a little problem, but you might also consider, instead of copying the file to its new location, create an sfx and let it extract at the proper time to its new location.This is not elegant, but at least might be a soltion if you need one quickly!GreetzKMan Link to comment Share on other sites More sharing options...
mconger Posted March 26, 2004 Share Posted March 26, 2004 Alanoll,I prestage pretty much everything locally, so its copied during that phase. I haven't tried those switches I'll take a look. Link to comment Share on other sites More sharing options...
mconger Posted March 26, 2004 Share Posted March 26, 2004 Hi!did you check the file after copying it ?it would be helpful to know what actually changed.is it really converted back to ansi, or did it loose its unicode header ?and this might be a little extraodinary for such a little problem, but you might also consider, instead of copying the file to its new location, create an sfx and let it extract at the proper time to its new location.This is not elegant, but at least might be a soltion if you need one quickly!GreetzKManKman,The file appears to be intact. I did a diff on the two and came back with no changes. If I open the file that is giving me problems and open save as it defaults to Unicode formating. I'm guessing something of the header didn't quite make it. I may have to resort to some kind of self extractor. That's a good idea that I hadn't considered. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now