I got a file which has a non-English name. The content is also non-English.
Now, I would like to create a stream on that file to be able to read/write data.
Also, if possible, I would like to detect on which language is the text.
For example:
I have a file "հայերեն.txt" and inside the text file we have written "Բարև"․ File is Unicode-encoded. Now I want to read both filename and text into RAM.
Also, suppose I have some other text "Վահագն". Now I want to create a file "Վահագն․txt" and write some other unicode text inside the file.
OS: Windows 7+.
C++: vc120 or vc140.