Invoke VBA Encoding Problem

Hi Guys

I have a Problem

I want to use an activity Invoke VBA

*.txt file has chinese(UTF-8)

but VBA read just ANSI Endoing

How can I change Encoding with VBA and execute ???

thx

Hi,

Can you try to convert to proper character encoding in advance as the following?

img20210716-1

Regards,

thx,

Can I see encoding options?

Hi,

Unfortunately, I don’t have environment to check it.
There is a list of encoding for .net. So can you try some Chinese encoding (such as "gb2312")?

Regards,

Hello,@111634
1.


2.

3.
image
4.You can use this method to export the file format to Bas, and then continue to read the text for operation
Regards.