I have hundreds of CSV files containing text in Japanese. When I open them in Excel, the characters look garbled. And when I open them with Notepad, the characters look fine. I got my computer's locale changed to Japan, but the problem did not get resolved.
However, when I manually open the files in Notepad, save them with the character encoding UTF-8 without BOM, and then open the files in Excel, the characters look as they should. I have also recorded a macro with Notepad++ for this, but it cannot be used with VBA as per my knowledge. Please correct me if I am wrong.
I want to automate this process with Excel macro. I tried searching the code on the Internet, but did not get any solution.
Unfortunately, there is no way to attach the file.
But, can someone please give a macro to:
Open a .csv file in Excel with the character encoding UTF-8 without BOM
?
Thanks in advance!