Click to See Complete Forum and Search --> : unicode


February 11th, 2000, 12:31 AM
HOw can I read special charaters(unicode) from a file using Visual Basic?


Thanks in advance

Hel

February 11th, 2000, 03:05 AM
I'm not sure, but try something along the lines of

mystring=StrConv(Unicodestring,vbFromUnicode)



Hope this gives you a start

February 11th, 2000, 05:04 AM
Would you please give the prototype of "StrConv". Actually i want to convert simple 2-byte characters read from the file into integers and write them in another file. would "StrConv" help. And in
mystring = StrConv (Unicodestring, vbFromUnicode)


what are "Unicodestring" & "vbFromUnicode"?

Nick A.
February 11th, 2000, 07:25 AM
Ahem...

This is not an API function friend. It's a VB built-in function.

just type StrConv in a code window and then press F1. :)