[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner's exercise in UTF-8 programming



Followup to:  <87itgwd1ua.fsf@xxxxxxxxxxxxx>
By author:    Florian Weimer <fw@xxxxxxxxxxxxx>
In newsgroup: linux.utf8
>
> 	Markus Kuhn <Markus.Kuhn@xxxxxxxxxxxx> writes:
> 
> >   if (printf("%lc", 0x20ac) < 0)   /* try C's multibyte output mechanism */
> 
> Speaking of portability, isn't a cast to wint_t missing here?
> 

wchar_t you mean?

	-hpa
-- 
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/