CYGWIN=codepage? Or LC_CTYPE=foo?
Kazuhiro Fujieda
fujieda@jaist.ac.jp
Mon Apr 7 08:22:00 GMT 2008
>>> On Sun, 06 Apr 2008 22:31:17 -0700 (PDT)
>>> Gregg Tavares said:
> If LC_CTYPE is set to something else than unless the user manually
> sets it back to UTF-8, programs that attempt to deal with filenames
> that don't fit the current codepage will fail. That seems bad to me.
>
> Also, if LC_CTYPE is not set to codepage:utf-8 then any unix programs
> communicating filenames machine to machine will almost always fail
> for non ASCII filenames.
As long as internal character conversion in Cygwin DLL and
character processing in the C library functions use the same
codepage, Unix programs should be able to handle filenames
properly. LC_CTYPE will determines it. It isn't necessary the
default is UTF-8.
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
More information about the Cygwin-developers
mailing list