kernel32: MultiByteToWideChar: MB_USEGLYPHCHARS fix

Robert Shearman rob at codeweavers.com
Mon Mar 12 11:02:59 CDT 2007


Andrew O. Shadoura wrote:
>          break;
>      }
>
> +    if (flags & MB_USEGLYPHCHARS) {
> +        for (i=0; i!=dstlen; i++)
> +            if (dst[i]<0x20) dst[i]=glyph_xlat[dst[i]];
> +    }
> +
>   

I think you need to take into account the codepage when doing this 
translation.

-- 
Rob Shearman




More information about the wine-devel mailing list