Skip to content

Does not work with -s switch #51

@appomsk

Description

@appomsk

Linux Mint 20
Package: libutf8-all-perl
Version: 0.024-1

perl -Mutf8::all -sle 'print $v' -- -v=привет
пÑивеÑ

This does not work either:

perl -CASD -Mutf8 -Mv5.30 -sle 'print $v' -- -v=привет

This works:

perl -MEncode -sle 'print decode("utf-8", $v)' -- -v=привет                                        
привет

By the way:

ruby -se 'puts $v' -- -v=привет 
привет

and

awk -v v=привет 'BEGIN {print v}'
привет

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions