About picture format.

yf fyou at dsguardian.com
Mon Nov 25 23:01:44 CST 2002


ÔÚ 2002-11-26 ¶þ µÄ 12:13£¬ Dmitry Timoshkov дµÀ£º
> "yf" <fyou at 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.
> 
> 
> 
> 





More information about the wine-devel mailing list