Solved

Access XP: Can not get unicode string from recordset

Posted on 2004-09-15
3
439 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
3 Comments
 
LVL 50

Accepted Solution

by:
Steve Bink earned 125 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

785 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