Convert Unicode String to ASCII and back

Discussion in 'Questions (Windows Mobile)' started by Grolle, Feb 23, 2009.

  1. Grolle

    Grolle Member Licensed User

    Hi,

    is there a function to convert a string from Unicode to ASCII and back?

    Best regards ...
     
  2. agraham

    agraham Expert Licensed User

    All strings in Basic4ppc (.NET) are Unicode UTF16 strings and cannot be anything else. The Bitwise library has methods to convert strings to and from byte arrays according to different encodings. ASCII is code page 20127. If you are only using pure ASCII, i.e. chr(0 )to chr(127), then UTF8 will be identical.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice