Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. UTF-8 read and write back to Oracle DB from VB application corrupts the data[if-non-english char] to unreadable format

UTF-8 read and write back to Oracle DB from VB application corrupts the data[if-non-english char] to unreadable format

Scheduled Pinned Locked Moved Visual Basic
databaseoraclehelp
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 2 Offline
    2 Offline
    224917
    wrote on last edited by
    #1

    I have Oracle DB Table with one of its column (VARCHAR). I read and write to this data [non-english or English] using VC application then everything works fine. But if I use a VB application to read the data[non-english] and write it back to the same palce the content is corrupted. Any help is appreciated

    2 1 Reply Last reply
    0
    • 2 224917

      I have Oracle DB Table with one of its column (VARCHAR). I read and write to this data [non-english or English] using VC application then everything works fine. But if I use a VB application to read the data[non-english] and write it back to the same palce the content is corrupted. Any help is appreciated

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      The problem is solved. It was due to the difference in the way, the Unicode characters are handled by "Oracle Provider for OLE DB" (OraOLEDB.DLL) and "Microsoft OLE DB Provider for Oracle" (msdaora.dll). Refer : http://support.microsoft.com/kb/q244661/ My vb application was using msdaora.dll while VC++ was using OraOledb.dll ! Suhredayan

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups