[uClibc] uClibc++ - Help with wide character support

Manuel Novoa III mjn3 at codepoet.org
Wed Jun 22 12:53:44 UTC 2005


Hello Garret,

Did you build uClibc with locales enabled and did you set a UTF-8
locale prior to using fgetwc?

Manuel

On Wed, Jun 22, 2005 at 05:35:50AM -0400, Garrett Kajmowicz wrote:
> I'm currently trying to implement wide character support for uClibc++.  I'm 
> using fgetwc to do the reading conversion.  Unfortunately, the moment that I 
> try reading in an actual Unicode character I get back WEOF and an error of 
> EILSEQ: The data obtained from the input stream does not form a valid 
> character.  I've tested the input with kedit and it is a valid UTF8 stream.  
> 
> What would cause this problem?  Better yet, how would I go about fixing it?  
> Thanks.
> 
> -      Garrett

> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc




More information about the uClibc mailing list