Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

[RESOLVED] Strange character problem

$
0
0
Hi,

I have a string that my program gets from another application.

The string has what appears to be question marks in it, but they are not.. they are just outputted as question marks for some reason.

When the string is outputted in the other application the character appears as a "T".

if I do instr(stringVar,"?") it returns 0

When I use Asc on the character it returns the value for ?

When I use AscW it returns 1058

What I would like to do is convert all the 1058 unicode characters into Ts so it appears the way it does in the other application. However I do not know how to use that 1058 value to do that.

Is there something like chr(1058) for unicode characters?

Any suggestions?

Thanks

edit: sigh.. as soon as I wrote out the problem I figured out what I needed to google and solved it lol

chrw(1058) :)

Viewing all articles
Browse latest Browse all 21238

Trending Articles



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