delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SARE_SUB_ENC_UTF8 |
X-Spam-Check-By: | sourceware.org |
From: | Uri Simchoni <uris AT ctera DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Date: | Wed, 2 Mar 2011 06:56:06 -0500 |
Subject: | readdir truncates file names whose UTF-8 representation is longer than 255 bytes |
Message-ID: | <DDB181A6E7B893429D83CAC8DDBA74F1114B753028@VMBX108.ihostexchange.net> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, I'm using Cygwin 1.7.7 in UTF-8 mode. I have a file whose name is composed = of Hebrew character, so the UTF-8 representation is longer than 255 charact= ers. Trying "ls -l" fails to list the file's attributes. Using a short C program that loops through a directory (readdir()/stat()) s= hows that readdir() truncates the file name. Is there any way around it? (using environment variable, fstab or system ca= ll other readdir - I want to keep UTF-8) Thanks, Uri. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |