By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,750 Members | 1,471 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,750 IT Pros & Developers. It's quick & easy.

LANG="es_ES" not supported, falling back to "C"

P: n/a
Hello!

I have some (many) text files produced on windows system that I need
to process a bit, so I wrote a perl script to do the job.

The files contains characters used in Spanish (e.g. , , ) and they
doesn't come out right.

I use RedHat 8 and it is installed with Spanish locale. LANG is
"es_ES.UTF-8".

However perl complains that this is not supported and falls back to
"C".

I have tried with "es_ES" and "es_ES.iso-8859-1" all with the same
result. If I switch to "en_US" perl doesn't complain, but those
Spanish characters comes out bad ( for example is shown as a little
"sun").

If I work with files created on the same machine it works fine.

Now I figure that there is either something missing in RedHat or in
perl, that I need to install, but I have no idea of what.

Someone here that knows how to solve this?

Thanks
--ph
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.