Are there any way to set the charcter coding for output from the backtick operator. I failed to split the output of a tool that generates lines (in utf-16) of the following
format : "key" = "key"
The left instance is an unlocalized string, the write one will ususally be localized.
Splitting on /=/ failed, with default perl setting.
It succeded if either:
1) I told the tool to use utf-8 in its output, and then in the perl script I added the pragma use utf8; 2)I told the tool to generate it's output in MacRoman character encoding.

Are there any way to set the character encoding expected from the backtick operator,
that can be used in a dynamic way?
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to