On May 15 13:49, Alexey Borzenkov wrote: > On Fri, May 15, 2009 at 1:30 PM, Alexey Borzenkov <sna...@gmail.com> wrote: > > And I found why. It appears that there's a bug in printf with %ls that > > will refuse to print the string completely if the wide string for %ls > > cannot be represented in current charset. > > [...] > > > Prints nothing, i.e. it doesn't print neither of single quotes. > > So, as it seems printf on linux abort like that too, although it > manages to print first single quote first. So the only remaining > question is why newlib doesn't print the first single quote.
It's not using the Linux glibc implementation of printf, but the FreeBSD implementation. So there are differences to be expected. Both variations work within specification, though. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/