2008/9/9 hawaii.wine wong [EMAIL PROTECTED]:
Hi there,
I am a Chinese programmer. I have a problem here with wine
As we know wine is able to convert unicode to GB2312-- but weirdly, I just
found out that when the input content is already GB2312, wine
automatically mistakes it for unicode
I am using some third party apps developed in Chinese GB2312 by some
Chinese companies(in china, usually the companies use GB 2312)
OS info:
Linux version 2.6.24-19-generic ([EMAIL PROTECTED])
(gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7))
#1 SMP Wed Aug 20 22:56:21 UTC 2008
wine-1.1.4( install
2008/9/9 hawaii.wine wong [EMAIL PROTECTED]:
I am using some third party apps developed in Chinese GB2312 by some
Chinese companies(in china, usually the companies use GB 2312)
OS info:
Linux version 2.6.24-19-generic ([EMAIL PROTECTED])
(gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7))
#1 SMP
In simple words, i use a app that's text written in gb2312, wine can
not show that correctly.
i use ubuntu and it has support for gb2312 , because i can use gedit
to read text encoding in gb2312 .
On Tue, Sep 9, 2008 at 11:14 PM, Rob Shearman [EMAIL PROTECTED] wrote:
2008/9/9 hawaii.wine wong
2008/9/9 hawaii.wine wong [EMAIL PROTECTED]:
In simple words, i use a app that's text written in gb2312, wine can
not show that correctly.
i use ubuntu and it has support for gb2312 , because i can use gedit
to read text encoding in gb2312 .
So, you're trying to type text into the
i can not type Chinese into notepad
and
the code follows also can not work correctly
it'soutput was
45
���
not
45
你好
//winegcc -o test test.c
#includestdio.h
//#includewindows.h
#include locale.h
int main()
{
int i;
int sum=0;
for( i=0 ; i 10 ; i++ ){
sum+=i;
}