I am building a dynamic sql file that can have english characters and chinese/russian/vietnamese etc. Each text excerpt is in its own file and encoded properly. I need to be able to read in each of these files and output a single file that contains all these characters. I am using perl to read in and output the file.
My question has two parts.
What file encoding supports English text and Non-English text?
Using perl, can I convert the input file automatically into the above encoding format?
For part 2, I believe I need to read the file in the proper format to convert it. I have searched and found Encoding::Guess but not sure if this works and also not sure exactly how to use this.
I found this SO Question, the first answer explains a lot but not how?