Hi all,
my knowledge of character encoding issues is pretty limited and I
simply
cannot find a problem with the following code. It compiles -- but
seems to
produce garbage at runtime. I'd appreciate any helpful suggestions.
wchar_t* itemNameW = new wchar_t[strlen(itemName + 1) *
sizeof(wchar_t)];
mbstowcs(itemNameW, itemName, strlen(itemName) +1);
TIA,
Ralph