我写了个小程序(VC6.0),在自己机器上运行没有一点问题。但是,在英文版windows中,如果在文本框中输入汉字,则汉字显示为“??”这是什么问题?这是对方发来的原话,大家帮我看看好吗?Using the new SIndex.exe, I have got the small SIndex interface window.
The problem now is the Chinese fonts. For the "search" box, there are only
two "??" there. Whatever Chinese text I put in the query window (by copy),
they are all "?"s. If I type numbers and English words, I can see them
on the query window. But of course, they are not searchable.This makes me wonder the fonts building in my computer. The computers both
at home or in my office can read Chinese with no problems at all.

解决方案 »

  1.   

    1。使用UNICODE编码
    2。英文版操作系统有没有中文语言包?
      

  2.   


    如何做成unicode编码的版本?具体步骤如何?麻烦各位给出详细步骤,谢谢!
      

  3.   

    系统包含两种字体
    ANSI 和 UNicode
    _T()应该可以解决吧
      

  4.   

    更进一步的问题是:如果我的软件采用了unicode编码,那么我在软件界面上输入的汉字应该都是unicode编码的汉字了吧,如果我的程序连接一台数据库服务器,数据库服务器中的汉字又是什么编码呢?如果数据库中的汉字采用的又是GB2312编码,那么我在采用汉字作为查询条件,查询一条记录的时候,还能查询出正确的结果吗?
      

  5.   

    英文版windows是win98吧,如果是的话,UNICODE可解决不了问题
      

  6.   

    英文版的windows应该不是win98应该是winxp不过还请解释一下,为什么win98就不行?