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. C#
  4. Is DBF table ANSI?

Is DBF table ANSI?

Scheduled Pinned Locked Moved C#
csharpdatabasehelpquestion
3 Posts 2 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.
  • J Offline
    J Offline
    JoZ CaVaLLo
    wrote on last edited by
    #1

    Hi, when I open a dbf table with dBALite I can see under Database Info whether a table is ANSI or not... Is there a way to get the same information when I open that table in a C# program?

    Life is not short... the problem is only how you organize yourself

    G 1 Reply Last reply
    0
    • J JoZ CaVaLLo

      Hi, when I open a dbf table with dBALite I can see under Database Info whether a table is ANSI or not... Is there a way to get the same information when I open that table in a C# program?

      Life is not short... the problem is only how you organize yourself

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Probably, but that would be something database specific... Normally you don't need to care about the encoding. The database driver should give you string data as strings, not as encoded byte arrays.

      Despite everything, the person most likely to be fooling you next is yourself.

      J 1 Reply Last reply
      0
      • G Guffa

        Probably, but that would be something database specific... Normally you don't need to care about the encoding. The database driver should give you string data as strings, not as encoded byte arrays.

        Despite everything, the person most likely to be fooling you next is yourself.

        J Offline
        J Offline
        JoZ CaVaLLo
        wrote on last edited by
        #3

        Normally not... but the problem is that all language specific char may not be read correctly. For exemple instead of ü i get | ... to solve that problem I have to decode the table (this is already done) The problem is that some times I get tables that are already encoded correctly... in that case I don't need to decode the table...

        Life is not short... the problem is only how you organize yourself

        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