Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can i convert ansi file to Unicode directly ...with using routines... i have ansi file directly through code can i convert
Posted
Updated 21-Apr-15 2:01am
v2
Comments
Jochen Arndt 21-Apr-15 8:21am    
I already answered your previous question with a code snippet to read an ANSI file and convert it to Unicode:
http://www.codeproject.com/Answers/897778/Jpanase-text-is-not-reading-from-ansi-fiile?arn=0#answer1
Mohibur Rashid 22-Apr-15 3:29am    
I don't know where you are getting this ansii file. I just checked in windows-7 if you create and save it as ansii, it save the file as shift-jis. I guess your file is shift-jis

notepad won't do. You can however use notepad++ for example (free program) that can easily convert your file(s).

Good luck!
 
Share this answer
 
You can write some code to read the file in ansi and save it "directly" in Unicode to disk. It should be an easy task. (Or you learn by doing)

Or maybe you find some tool to batch this behavoiur.
 
Share this answer
 
i have ansi file directly through code can i convert
 
Share this answer
 
if i have more buffer size then how
 
Share this answer
 
Comments
Deepu S Nair 22-Apr-15 1:17am    
Don't post your comment as solution.Use Have a Question or Comment? link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900