Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

Access XP: Can not get unicode string from recordset

I have a table with chineese names. I have chineese fonts installed and I can see chineese names when opening table from the database window.
When I open recordset on this table, in debug window I see all chineese names like "???".
If I save the recordset field in file using Put statement, I see the same question marks in the file.
I tried DAO recordset and ADO recordset with same result.
0
shvetsov
Asked:
shvetsov
1 Solution
 
Steve BinkCommented:
Please see this link for the official Microsoft explanation:

http://support.microsoft.com/default.aspx?scid=kb;en-us;145727

It basically tells you that while Access handles unicode just fine, VB assumes all strings are ANSI.  Accordingly, any unicode strings that are handled by VB are either a) converted to ANSI, or b) assumed to be ANSI.

This link provides information on how to export a table from Access with the unicode intact.  Good luck to you!

http://support.microsoft.com/default.aspx?scid=kb;en-us;234201
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now