I am doing code for multi language support. It’s working for German, French and English. but when ever i trying same code for Hindi and Chinese then it’s not working.
my sample code.
Is this stuff in a unicode text file? If not, it’ll lose the encoding when it loads it. A good idea would be to do some tracing, to find out at what stage between reading the file and drawing the text it’s going wrong. E.g. could it just be that your font doesn’t actually contain those characters?
It's unlikely that you're having any problems with file or string encodings, but you'll need to use a font that actually contains these characters if you want to display them!