How to write in other language in text/xml file by reading english text/xml file using C++?

Hello Team,

I have 2 files.one contains english text and another contains Japanese. so i have to read english text and replace the text with Japanesh text in third file.

Basically, I need a help to write japanese language in text/xml file.I heard wstring does this.Not sure how do i write code.Not only japanese but also there 11 more languages[French/CHinesh,swedish,turkey,italy,....] Hoping that if i complete one language remaining may be easy to complete.

I really looking forward your help at the earliest moment.Thank you.
Regards,

Senthil Andavar

wchar/wstring is helpful when you want to output wchar/wstring.

Do you? What character set do you need to deal with?

If you don't know, could you find out?

this slightly longwinded article may help you deal with wide character sets in C but this will not help you much should you choose a different character set than the one you need to write in.

1 Like