Hello, Robert!
Tuesday, March 13, 2007, 16:35:49, you wrote:
RS> Andrew O. Shadoura wrote:
>> MB_USEGLYPHCHARS Use glyph characters instead of control characters.
>> 'control characters' in this context are _Unicode_ characters below U+0020.
>> dst is a pointer to WCHAR string - this means it is
Hello, Robert!
Tuesday, March 13, 2007, 16:35:49, you wrote:
RS> Andrew O. Shadoura wrote:
>> MB_USEGLYPHCHARS Use glyph characters instead of control characters.
>> 'control characters' in this context are _Unicode_ characters below U+0020.
>> dst is a pointer to WCHAR string - this means it is
Andrew O. Shadoura <[EMAIL PROTECTED]> writes:
> 2. MB_USEGLYPHCHARS Use glyph characters instead of control characters.
> 'control characters' in this context are _Unicode_ characters below U+0020.
> dst is a pointer to WCHAR string - this means it is Unicode string. So,
> we don't need to take
Hello, Robert!
Monday, March 12, 2007, 18:02:59, you wrote:
RS> 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]];
>> +}
>> +
>>
RS> I think you
Andrew O. Shadoura wrote:
MB_USEGLYPHCHARS Use glyph characters instead of control characters.
'control characters' in this context are _Unicode_ characters below U+0020.
dst is a pointer to WCHAR string - this means it is Unicode string. So,
we don't need to take into account any codepages, bec
"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 d
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
Andrew O.Shadoura wrote:
+#if 0
static int once;
+#endif
if (!src || (!dst && dstlen))
{
@@ -1774,11 +1783,13 @@ INT WINAPI MultiByteToWideChar( UINT pag
if (srclen < 0) srclen = strlen(src) + 1;
+#if 0
if (!once && (flags & MB_USEGLYPHCHARS))
{
once = 1;