On Mon, 28 May 2007 13:59:45 +0530,
Rajeev Kumar (email@hidden) wrote:
>wchar_t str[100] = { 0 };
>int charCount = swprintf(str, 100, L"\x20ac XYZ");
>
>Now this code is expected to write a euro sign followed by the
>string "XYZ".
Try adding the following line before the call to swprintf():
setlocale(LC_CTYPE, "UTF-8");
HTH,
-- marco
--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden