After a fresh install of cygwin, you may have some trouble with your locale settings. For instance, while running cpan -l to look for installed Perl modules, I had this error message :
fool@localhost:~$ cpan -l
perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = “” are supported and installed on your system.
To check which locales are available on your system :
fool@localhost:~$ locale -a
To set the correct value for your locale settings :
fool@localhost:~$ export LC_ALL=en_US.utf8
This will be only available for your current xterm session. To make it available all the time, set it into your shell profile configuration file.
