Ricardo Ferreira wrote:
> wait wait wait.
> 
> in mac os x work fine but in windows xp professional I have this troble 
> above
> 
> 
> use Encode;
> 
> $pdf = encode("iso-8859-1",<STDIN>); # i will put here "ç á é ó õ" ...
> chomp $pdf;
> 
> system "echo $pdf";
> 
> ...........................................
> 
> this code do nor work...
> 
> shows:  ╬   ' ¢ ä
> 
> but this other work :
> 
> use Encode;
> 
> $pdf = encode("iso-8859-1","ç á é ó õ");
> 
> system "echo $pdf";
> 
> 
> I do not know what going on ....

The Command Prompt in Windows does not use iso-8859-1, but an ancient 
code that was shipped with the original IBM PC in 1981. Later versions 
of DOS allowed the code to be changed, and the feature is still there if 
you switch the command window into full-screen mode, but I don't know of 
any way to make it work right in a window.

-- 
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
   -- Charles Williams.  "Taliessin through Logres: Prelude"

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to