Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 892485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:03:49+00:00 2026-05-15T14:03:49+00:00

Problem is categorized in two steps: Problem Step 1. Access 97 db containing XML

  • 0

Problem is categorized in two steps:

Problem Step 1. Access 97 db containing XML strings that are encoded in UTF-8.

The problem boils down to this: the Access 97 db contains XML strings that are encoded in UTF-8. So I created a patch tool for separate conversion for the XML strings from UTF-8 to Unicode. In order to covert UTF8 string to Unicode, I have used function
MultiByteToWideChar(CP_UTF8, 0, PChar(OriginalName), -1, @newName, Size);.(where newName is array as declared “newName : Array[0..2048] of WideChar;” ).

This function works good on most of the cases, I have checked it with Spainsh, Arabic, characters. but I am working on Greek and Chineese Characters it is choking.

For some greek characters like “Ευγ. ΚαÏαβιά” (as stored in Access-97), the resultant new string contains null charaters in between, and when it is stored to wide-string the characters are getting clipped.

For some chineese characters like “?¢»?µ?”(as stored in Access-97), the result is totally absurd like “?¢»?µ?”.

Problem Step 2. Access 97 db Text Strings, Application GUI takes unicode input and saved in Access-97

First I checked with Arabic and Spainish Characters, it seems then that no explicit characters encoding is required. But again the problem comes with greek and chineese characters.

I tried the above mentioned same function for the text conversion( Is It correct???), the result was again disspointing. The Spainsh characters which are ok with out conversion, get unicode character either lost or converted to regular Ascii Alphabets.

The Greek and Chineese characters shows similar behaviour as mentined in step 1.

Please guide me. Am I taking the right approach? Is there some other way around???
Well Right now I am confused and full of Questions 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:03:50+00:00Added an answer on May 15, 2026 at 2:03 pm

    There is no special requirement for working with Greek characters. The real problem is that the characters were stored in an encoding that Access doesn’t recognize in the first place. When the application stored the UTF8 values in the database it tried to convert every single byte to the equivalent byte in the database’s codepage. Every character that had no correspondence in that encoding was replaced with ? That may mean that the Greek text is OK, while the chinese text may be gone.

    In order to convert the data to something readable you have to know the codepage they are stored in. Using this you can get the actual bytes and then convert them to Unicode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This problem is giving me a real headache. I have two tables in my
My problem is I try to do a simple JOIN between two tables, that
ok so i have this problem that i need to achieve...Here is my site
I've had this problem twice on two different sites. It works in all browsers
Introduction: I want to loop through XML files with flexible categories structure. Problem: I
Problem: I have a table that prints out vertical but I would like it
I have the following problem: In Rails I have two Objects: Categories and Items
I`ve a problem with grouping and displaying results from two tables in MySQL db.
I will try to explain my problem clearly: I have two tables: document and
I understand that Android's developer site provides information on this topic. I have already

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.