470,600 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,600 developers. It's quick & easy.

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

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
0 1498

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Nithi Gurusamy | last post: by
132 posts views Thread by Kevin | last post: by
12 posts views Thread by Phil Certain | last post: by
3 posts views Thread by usenet | last post: by
1 post views Thread by Grant Smith | last post: by
4 posts views Thread by Techhead | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.