This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: mbtowc function not working.
- To: ktirunilai at novell dot com
- Subject: Re: mbtowc function not working.
- From: Andreas Jaeger <aj at suse dot de>
- Date: 04 Apr 2001 19:42:08 +0200
- Cc: libc-alpha at sources dot redhat dot com
- References: <3ACB3C38.3F986572@myrealbox.com>
Kannan <kanpals@myrealbox.com> writes:
> Hi,
> I am a developer working with novell. I have been trying to use
> this mbtowc function with RedHat 7.0 , which comes with glibc-2.2. The
> gcc version is 2.96 . But the mbtowc function fails to convert any value
> above 0x7f . It returns a -1 value. But the same thing works on Solaris
> 2.6 , with the gcc-2.95 compiler. Can you help me out as to how do I
> convert multibyte characters above 0x7f to wide char using mbtowc.
>
> Awaiting your mail .....
Please send a small, self-contained program that shows the failure.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj