Subject: bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build

From: Eli Zaretskii <[email-masked]>
Date: Sun, 11 May 2014 18:40:51 +0300

> From: Shigeru Fukaya <[email-masked]>
> Date: Sun, 11 May 2014 23:10:22 +0900
> 
> In cygwin build, file-attributes/directory-files-and-attributes with
> id-format non-nil currently return UIDs/GIDs as singlebyte.

What is your value of locale-coding-system?  If it's nil, then your
problem is likely outside Emacs: look at your LC_* and LANG variables
to make sure they are set up correctly.