Hi,
My perl scripts is generating strange output of the characters when it
is opened by Browsers (mozilla, IE).
#!/usr/bin/perl
print "a e i o u á é í ó u â î ô û";
The below code outputs the rigth string to the console (or files if I
open with editors), but if I put it (with open FILE,output.html...) in
html file and open with a browser, look the result:
a e i o u á é Ã* ó u â î ô û
the generated file is of the type 'UTF-8 Unicode English text, with
very long lines', as says "file" command on linux.
Any hint about the solution?
Information about my system:
System Linux Ubuntu 6.06
perl, v5.8.7 built for i486-linux-gnu-thread-multi
/etc/environment sets:
LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR

t

t_PT"
Thank you
Tom