Export MS Access Memo field and convert Unicode

后端 未结 3 428
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 01:33

I have an Access 2003 database. A table has a Memo field and I\'m having issues with getting that data out.

  • Exporting that field to a txt or csv chops that fi
相关标签:
3条回答
  • 2021-01-17 01:49

    The file created by Access/VBA is UTF-16. For some reason, there is a character at the beginning of the file that was causing the Ruby YAML library to parse wrongly.

    iconv to the rescue!

    iconv -f UTF-16 -t ASCII -c utf_file.yml > ascii_file.yml
    
    0 讨论(0)
  • 2021-01-17 02:06

    Export to .xml

    0 讨论(0)
  • 2021-01-17 02:16

    How are you exporting? Have defined an export spec? In Access 2003, this gives you a dropdown list with all the usual encodings (code pages), including Unicode UTF8. This is also how you define your memo field as having a length greater than 255 characters.

    0 讨论(0)
提交回复
热议问题