I wish somebody'd set the reply-to field on this list...

On 2/17/06, Jay Savage <[EMAIL PROTECTED]> wrote:
> please don't top post.
>
> On 2/17/06, Tommy Nordgren <[EMAIL PROTECTED]> wrote:
> > This won't work. I have no idea at all what happens when the input is
> > UTF-16, but Perl
> > expects input from the back-tick operator to be in another encoding.
> > What I NEED is to
> > tell Perl what character-encoding to read via the back-tick operator.
> >
>
> Jeff just told you: use Encode. Have you read the Encode docs?
>
> It sounds like you're looking for something like
>
>    use Encode qw/encode decode/;
>    $input = decode("UTF-16", `your command`);
>
> Just make sure you know what your encoding really is, the phrase
> "utf-16" covers a multitude of sins: there are at least 4 distinct
> encodings that go by that name.
>
> If that's not what you're looking for, you need to give us some more
> to go on. Rule #1 around here is: send code you've tried; describe the
> behavior your seeing; and copy the error message so we can see it.
>
> We can't help you much if we don't know what the problem is.
>
> -- j
> --------------------------------------------------
> This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
> private and confidential
>
> daggerquill [at] gmail [dot] com
> http://www.tuaw.com  http://www.dpguru.com  http://www.engatiki.org
>
> values of β will give rise to dom!
>


--
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.dpguru.com  http://www.engatiki.org

values of β will give rise to dom!

Reply via email to