Converting Unicode String to ASCII
Posted on 2002-04-21
If I have a string in Unicode stored in a String Variable, how do I convert the stored string to ASCII?
I'm passing a Unicode String into a java class via VB, and then I'm trying to pass the string to some other java class method. However, the string I pass to the other java method must be ASCII but currently I believe its Unicode when I pass it from VB to my first java class file. I need to convert it first but do not know a very simple and effective way of doing that.
Thanks in advance.