Re: [1.7] bug in printf and %ls

2009-05-15 Thread Corinna Vinschen
On May 15 13:49, Alexey Borzenkov wrote: > On Fri, May 15, 2009 at 1:30 PM, Alexey Borzenkov 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. >

Re: [1.7] bug in printf and %ls

2009-05-15 Thread Corinna Vinschen
On May 15 13:30, Alexey Borzenkov wrote: > [...] > 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. It's interesting that > sometimes it behaves differently. For example: > > $

Re: [1.7] bug in printf and %ls

2009-05-15 Thread Alexey Borzenkov
On Fri, May 15, 2009 at 1:30 PM, Alexey Borzenkov 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 neit

Re: [1.7] bug in printf and %ls

2009-05-15 Thread Alexey Borzenkov
On Fri, May 15, 2009 at 11:43 AM, Alexey Borzenkov wrote: > I'm in a domain at work and previously used mkpasswd -d and mkgroup -d > to populate /etc/passwd and /etc/group files. Unfortunately, we mostly > use Russian versions of Windows (especially on servers) here and most > built-in user and gr