That's probably because you are using what I sent, rather than what the OP
did:

> C:\>perl -E "s§3(456)7§$1§;"
>
Unrecognized character \x98 in column 16 at -e line 1.
>

> C:\>perl -Mutf8 -E "s§3(456)7§$1§;"
>
Substitution replacement not terminated at -e line 1.
>

> C:\>perl -E "s§3(456)7§§$1§; say"
>
Unrecognized character \x98 in column 14 at -e line 1.
>

> C:\>perl -Mutf8 -E "s§3(456)7§§$1§; say"
>

>
> C:\>


Brian.

Reply via email to