Results 1 to 2 of 2

Thread: Store Unicode in String type

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    222

    Store Unicode in String type

    Hi All;

    How can i store unicode in string type?

    Best regards

  2. #2
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: Store Unicode in String type

    VB6 strings are Unicode as they are. There are several problems though:

    1) native VB6 controls do not support Unicode. They convert to ANSI.

    2) file manipulation is not Unicode aware: converts from/to ANSI

    3) regular API calls do ANSI conversion as well

    4) VB6 IDE is ANSI only (when you write "ABC" it is converted from ANSI to Unicode and is Unicode in final executable)

    VB6 does have a few Unicode functions, ie. AscW() and ChrW$() let you use Unicode characters in strings.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width