spacejunky has asked for the wisdom of the Perl Monks concerning the following question:

Hello everyone: I wrote a script that creates udl files but I need to save them as unicode. Is there a simple way of converting the string before printing it to the file. Thanks for the help
  • Comment on saving unicode strings to files (was: spacejunky)

Replies are listed 'Best First'.
Re: spacejunky
by mugwumpjism (Hermit) on May 17, 2002 at 14:27 UTC
Re: spacejunky
by gnubbs (Beadle) on May 17, 2002 at 14:28 UTC

    Haven't played with this much myself, but check out Unicode::Map, and this node.

    Not much, but hopefully it will get you started.

Re: saving unicode strings to files (was: spacejunky)
by ph0enix (Friar) on May 17, 2002 at 15:08 UTC

    You can use Text::Iconv module for conversion betveen various encodings.