How do I define Unicode support for just a small segmant of code?
Posted on 2004-08-12
How do I define Unicode support just for a small segmant of code?
I have an array of type char. When the array is filled with single byte characters and then later output the contents to the console all appears fine (human readable).
But what if the array is filled with Unicode (double byte) characters...the output is garbage...ok...this obviosly makes sense. So.....is there then a way to output the correct Unicode character onto the screen?
What I"m trying to do is avoid changing the whole application to support Unicode for just that tiny tiny segmant.