Re: I just found out that when the input content is already GB2312, “wine” automatically mistakes it for unicode

hawaii.wine wong hawaii.wine at gmail.com
Tue Sep 9 10:42:22 CDT 2008


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
#include<stdio.h>
//#include<windows.h>
#include <locale.h>

int main()
{
  int i;
  int sum=0;
  for( i=0 ; i< 10 ; i++ ){
    sum+=i;
  }
  printf("%d\r\n",sum);
  printf("你好\n");
  return sum;
}



On Tue, Sep 9, 2008 at 11:30 PM, Rob Shearman <robertshearman at gmail.com> wrote:
> 2008/9/9 hawaii.wine wong <hawaii.wine at gmail.com>:
>> 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 application and it doesn't
> show up correctly, right?
>
> Does it work if you use Wine's notepad?
>
> --
> Rob Shearman
>


More information about the wine-devel mailing list