in reply to Re: trouble printing spanish characters
in thread trouble printing spanish characters

That might not work, depending on the particular editor (locale, whatever) that is being used to write the perl script. If it doesn't save those accented characters as utf8, the assignment to $string -- or rather, the encoding of $string into cp437 -- will fail.
  • Comment on Re^2: trouble printing spanish characters