5 posts in this topic

Posted

I'm looking for a batch file converter that would convert any file i choose from ansi to unicode. Sometimes the files are in the same folder and probably i could create a script to convert them if i tried hard enough, but most are not and a lot of them don't even have the same extension. I have found non-free options that range from 15$ 3 month license on one computer to a 350$ on two computers for lifetime with 50% discounts on upgrades which is such a scam.

Share this post


Link to post
Share on other sites

Posted

this one should do what you need for free. There is a professional version with more options, but I think for you the free version will be good enough.

 

http://www.rotatingscrew.com/utfcast-express.aspx

1 person likes this

Share this post


Link to post
Share on other sites

Posted

Can't you just do something as simple as this

 

cmd /u /c type ansifile.ext>unicodefile.ext

 

the /u does this

 

/U      Causes the output of internal commands to a pipe or file to be Unicode

 

It would be quite easy to batch such a command.

Share this post


Link to post
Share on other sites

Posted

Can't you just do something as simple as this

 

cmd /u /c type ansifile.ext>unicodefile.ext

 

the /u does this

 

/U      Causes the output of internal commands to a pipe or file to be Unicode

 

It would be quite easy to batch such a command.

Having a BOM could cause troubles though

1 person likes this

Share this post


Link to post
Share on other sites

Posted

who said it would use a BOM?  I just did a quick test and opened with notepad++ since I know that shows if BOM or not, and can let you save with or without, etc.

 

[attachment=339281:testwobom.png]

 

So from my quick test does not look like it adds BOM

1 person likes this

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.