I am collecting data from lots of website. Then put it on a text file.

Sometimes the data contain chinese characters or japanese or korean character.

What should I do so I can handle all those data elegantly.

That is, what should I do so I can put data on regular text file. I don't care about the size of the file, etc.