Sign in to follow this  
Followers 0
thedogcow

How to save as unicode?

10 posts in this topic

Just wondering how to save the xml as unicode, as this is the source of my xml not working :)

0

Share this post


Link to post
Share on other sites

open your xml in notepad or wordpad, save as "unicode" type.

thats it...

post-86-1079853760_thumb.jpg

0

Share this post


Link to post
Share on other sites

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!

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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 /X

one might work, dunno

0

Share this post


Link to post
Share on other sites

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!

Greetz

KMan

0

Share this post


Link to post
Share on other sites

Alanoll,

I prestage pretty much everything locally, so its copied during that phase. I haven't tried those switches I'll take a look.

0

Share this post


Link to post
Share on other sites
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!

Greetz

KMan

Kman,

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.

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.