Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QT 访问oracle 出现乱码

    Chinese
    1
    1
    1103
    Loading More Posts
    • 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
      jiang4 last edited by

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

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

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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post