|
-
Jan 22nd, 2003, 10:51 PM
#1
Unicode To ANSI FORMAT
Hi Everyone,
i have been assigned a task. i have to convert a 100 unicode files into ascii text files.
i have found out a method of identifying whether a file is unicode or not.
This method is working for all the unicode files. However I am not certain how do I automate the task for conversion. I have noticed that notepad allows me to save the files as text. This is not the best way to go about it as it involves opening the file and saving it again.
Does anyone know how do you convert a file from unicode to text? What does notepad do ? Can I use the same API call without bothering to open a file?
How do I do this in C++?
Cheers!
Abhijit
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|