Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access XP: Can not get unicode string from recordset

Posted on 2004-09-15
3
Medium Priority
?
485 Views
Last Modified: 2008-02-26
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
Comment
Question by:shvetsov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 12065369
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question