I have this csv file which is UTF-8 encoded. It contains special characters like ë, ï, etc. To import it into Excel, I use the following code, where Origin:=65001 should ensure that Excel reads it as an UTF-8 encoded file:
Workbooks.OpenText Comma:=True, DataType:=xlDelimited, Filename:=ActiveWorkbook.Path & "\test.csv", Origin:=65001
It doesn't work however and keeps showing the wrong characters (ë instead of ë for example). I tried other encodings and Excel is influenced by it (with Origin:=1 ë becomes √´), so no typing error.
What goes wrong here?
Workbooks.OpenText Comma:=True, DataType:=xlDelimited, Filename:=ActiveWorkbook.Path & "\test.csv", Origin:=65001
It doesn't work however and keeps showing the wrong characters (ë instead of ë for example). I tried other encodings and Excel is influenced by it (with Origin:=1 ë becomes √´), so no typing error.
What goes wrong here?