On Mon, Nov 25, 2002 at 01:03:00PM +0800, yf wrote:
It is a Windows application. you can download it on http://www.myhexin.com/tw2002/rjxz/download.asp?rjxz=exe1
Which program do you start?
when running, it complains: fixme:ole:OLEPictureImpl_Load Unknown magic 0010 fixme:ole:OLEPictureImpl_Render type -1 not implemented fixme:ole:OLEPictureImpl_Destroy Unsupported type -1 - unable to delete fixme:ole:OLEPictureImpl_Load Could only read 136 of 1073465 bytes?
I have a bit of a hard time following the menus, since they appear to be in an asian language and the characters do not even display ;)
I have sended the patch of how to make the Chinese character properly showed before.
--- wine-20021031/graphics/x11drv/codepage.c.original 2002-11-16 13:50:31.000000000 +0800 +++ wine-20021031/graphics/x11drv/codepage.c 2002-11-04 17:44:14.000000000 +0800 @@ -279,8 +279,8 @@ { if ( IsLegalDBCSChar_cp936( *str_src, *(str_src+1) ) ) { - str2b_dst->byte1 = *str_src; - str2b_dst->byte2 = *(str_src+1); + str2b_dst->byte1 = *str_src&0x7f; + str2b_dst->byte2 = *(str_src+1)&0x7f; str_src++; } else
Ciao, Marcus
yf fyou@dsguardian.com writes:
if ( IsLegalDBCSChar_cp936( *str_src, *(str_src+1) ) ) {
str2b_dst->byte1 = *str_src;
str2b_dst->byte2 = *(str_src+1);
str2b_dst->byte1 = *str_src&0x7f;
str2b_dst->byte2 = *(str_src+1)&0x7f;
This doesn't seem right, the values for cp936 byte2 apparently go from 0x40 to 0xfe. Any cp936 experts out there?
在 2002-11-26 二 的 02:45, Alexandre Julliard 写道:
yf fyou@dsguardian.com writes:
if ( IsLegalDBCSChar_cp936( *str_src, *(str_src+1) ) ) {
str2b_dst->byte1 = *str_src;
str2b_dst->byte2 = *(str_src+1);
str2b_dst->byte1 = *str_src&0x7f;
str2b_dst->byte2 = *(str_src+1)&0x7f;
This doesn't seem right, the values for cp936 byte2 apparently go from 0x40 to 0xfe. Any cp936 experts out there?
But if I modified, the Chinese character can be printed, otherwise it is a rectangular.
-- Alexandre Julliard julliard@winehq.com
"yf" fyou@dsguardian.com wrote:
if ( IsLegalDBCSChar_cp936( *str_src, *(str_src+1) ) ) {
str2b_dst->byte1 = *str_src;
str2b_dst->byte2 = *(str_src+1);
str2b_dst->byte1 = *str_src&0x7f;
str2b_dst->byte2 = *(str_src+1)&0x7f;
This doesn't seem right, the values for cp936 byte2 apparently go from 0x40 to 0xfe. Any cp936 experts out there?
But if I modified, the Chinese character can be printed, otherwise it is a rectangular.
Have you tried to mask only byte1?
在 2002-11-26 二 的 12:13, Dmitry Timoshkov 写道:
"yf" fyou@dsguardian.com wrote:
if ( IsLegalDBCSChar_cp936( *str_src, *(str_src+1) ) ) {
str2b_dst->byte1 = *str_src;
str2b_dst->byte2 = *(str_src+1);
str2b_dst->byte1 = *str_src&0x7f;
str2b_dst->byte2 = *(str_src+1)&0x7f;
This doesn't seem right, the values for cp936 byte2 apparently go from 0x40 to 0xfe. Any cp936 experts out there?
But if I modified, the Chinese character can be printed, otherwise it is a rectangular.
Have you tried to mask only byte1?
If I only mask byte1, the Chinese character can not be properly printed. I have tried.
-- Dmitry.