Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QT 访问oracle 出现乱码
Qt 6.11 is out! See what's new in the release blog

QT 访问oracle 出现乱码

Scheduled Pinned Locked Moved Chinese
1 Posts 1 Posters 1.4k 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
    jiang4
    wrote on last edited by
    #1

    用QT4.7.3编写的通过QODBC访问oracle数据库(字符集设置为ZHS16CGB231280)程序:

    1、在windows下,返回结果字段里中文出现乱码,尝试用QTextCodec进行转换,也不能正确显示。

    2、在Linux下,返回的记录值全部为空串。

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved