X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 4 Jan 2010 18:36:09 -0500 Message-ID: Subject: Re: Bug printing string where the 128th char is multibyte From: "Mark J. Reed" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, Jan 4, 2010 at 6:24 PM, Eduardo D'Avila wrote: > I confirmed the bug on two different versions of Windows XP (Home and > Professional Editions) at my home and my workplace. I've just checked > also on a Windows Vista notebook and the bug didn't happen. What terminal are you using, what is your encoding set to, etc? I'm not able to reproduce this bug in a fresh 1.7.1 install on Windows XP Professional (32-bit). All three of your programs - C, Perl, and Python - display the full string from the beginning. I've tried creating the source with both Latin-1 and UTF-8; both work fine. -- Mark J. Reed -- 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