This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: mbtowc function not working.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]