-
Feb 24th, 2011, 03:18 AM
#1
Thread Starter
Addicted Member
Store Unicode in String type
Hi All;
How can i store unicode in string type?
Best regards
-
Feb 24th, 2011, 04:12 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|