Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15244

Ansi/Unicoding Encoding Issue

$
0
0
I've got a bit of an issue with reading a file correctly on NON English PC's.

I've just changed my Regional settings to CHINESE. Viewing the file in HEX seems to be replacing some characters, as the codepage has changed.
So the issue is, getting the correct codepage set in order for VB to read properly.

MultiByteToWideChar is way off....
strConv is way off...[/B]

Even calling the correct getACP setting is still off.

Any ideas?

Viewing all articles
Browse latest Browse all 15244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>