mbtowc not working.
Tirunilai Raghava Kannan
KTirunilai@novell.com
Wed Apr 4 21:31:00 GMT 2001
Hi,
I have written a simple program, which uses the mbtowc function to convert a mb char to a wchar value. But for all values above 0x7f mbtowc fails. But it works fine for all values below 0x7f . I am attaching the sample code what I had written. I am using the glibc 2.2 version and gcc-2.96 version for linux on intel platform.
But the same sample code works well with gcc-2.95 on solaris 2.6. Could you help me out with this problem.
Regards,
kannan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbtest.c
Type: text/x-c
Size: 338 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20010404/0c1b8065/attachment.bin>
More information about the Gcc
mailing list