This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug printing string where the 128th char is multibyte


I've found a bug that happens when the 128th (index 127 on a 0-based
string) char of a string is a multibyte char. When I print such
string, only the multibyte char and the chars after it are displayed.

Apparently, if the multibyte char is in another position, the error
doesn't happen.
I have attached Perl and Python scripts and a C source that
demonstrate the problem.

This bug was noticed after updating to Cygwin 1.7.1 and was confirmed
on different machines.

Eduardo R. D'Avila

Attachment: BUG.py
Description: Binary data

Attachment: BUG.c
Description: Binary data

Attachment: BUG.pl
Description: Binary data

Attachment: cygcheck.out
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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