"Robert Shearman" <[EMAIL PROTECTED]> wrote:

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.

Also probably this code needs to go to libs/wine/mbtowc.c, and the test
at least for 1252 and say 1251 code pages wouldn't hurt.

--
Dmitry.


Reply via email to