Sir,
I have just learnt to write Hello world programme.I want to greet people in my own mother tongue (Tamil of india) via my programme.Tell me how to display unicode fonts of tamil in my programme.
Printable View
Sir,
I have just learnt to write Hello world programme.I want to greet people in my own mother tongue (Tamil of india) via my programme.Tell me how to display unicode fonts of tamil in my programme.
Does your OS / Compiler support unicode?
yes.I used to type docs in unicode only.
Something like this:
Obviously, you'd have to replace the english words with tamil ones - I don't know what that would be, but the above code should work for ANY language.Code:int main()
{
wprintf(L"Hello, world\n");
return 0;
}
Of course, the other question is if your text-editor that you use for producing the source file supports unicode - that I can not say. Nor if the C-library that comes with your compiler actually implements wprintf().
--
Mats
I dont understand what you have said.The code is not working in my compiler.
What compiler do you use? What are the errors that are displayed?
Don't rush with printing in your own language, learn the basics at least first.