Results 1 to 7 of 7

Thread: Display unicode chars.

  1. #1

    Thread Starter
    Hyperactive Member aks_1610's Avatar
    Join Date
    Sep 2002
    Location
    Pune, India
    Posts
    280

    Display unicode chars.

    Hi,

    i want to create an application in which user can choose any language(eg. Japnese, chinese etc). Based on that selecting user cna get required information in that particular language. This information in kept in access database. I have made a sample database in which i have inserted data in these languages. But in am unable to retieve this data as i am only getting ? (question marks) instead of those chars.

    ny idea(s)..
    A man with nothing to live for has everything to fight for...

  2. #2
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139
    what database r u using ?

  3. #3

    Thread Starter
    Hyperactive Member aks_1610's Avatar
    Join Date
    Sep 2002
    Location
    Pune, India
    Posts
    280
    MS Access
    A man with nothing to live for has everything to fight for...

  4. #4

    Thread Starter
    Hyperactive Member aks_1610's Avatar
    Join Date
    Sep 2002
    Location
    Pune, India
    Posts
    280
    A man with nothing to live for has everything to fight for...

  5. #5
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    aks_1610


    I do not know how much you know about Unicode characters, so I will start with each Unicode character is two bytes in length. You can read UniCode characters from Access, but this depends on how you place the data into the database. Once read you will have to use the correct code page to get the characters.

  6. #6

    Thread Starter
    Hyperactive Member aks_1610's Avatar
    Join Date
    Sep 2002
    Location
    Pune, India
    Posts
    280
    thanks for replying,
    i know that unicode character is two bytes in length. My database is storing correct data. But when i try to display it, the result is ???. I tried to save the recordset in XML format, there it is showing correct values, but when i try to display it, i get junk result. What i feel is there is some problem with the recordset.


    ny idea(s)..
    A man with nothing to live for has everything to fight for...

  7. #7
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    aks_1610


    Are you using the code page for Japanese or whatever language you used?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width