954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Code to write Hindi words into a textfile using Unicode codes.

Hello,

Please guide me to write how to write a C code for converting Unicodes (like 0905  for अ). the output i.e. अ should be written to a text file.

Regards.
programmer321
Light Poster
26 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

http://www.codeproject.com/KB/GDI/kanjifont.aspx

Though, I'm not sure whether it will help you in the case of Hindi.

Jishnu
Posting Pro
518 posts since Oct 2006
Reputation Points: 193
Solved Threads: 25
 

This would be a lot easier in c++ due to the unicode. Here's a link on it.

Here's a link to with some info on unicode and C

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 
Though, I'm not sure whether it will help you in the case of Hindi.

And even if it did, it is written in C++, not C :)

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 
And even if it did, it is written in C++, not C

Oh, I didn't realize that earlier. This is what happens when you go on switching between the C and C++ forums.

Jishnu
Posting Pro
518 posts since Oct 2006
Reputation Points: 193
Solved Threads: 25
 
Well precisely, can anyone help me writing a C code for converting Unicode data to ASCII data. Unicode data to be read from a particular file. like the file contains (नमस्ते) 10 times in seperate rows.

Regards.
programmer321
Light Poster
26 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You