Skip to content

calc-command give broken currency #132

@xXPerditorXx

Description

@xXPerditorXx

When doing
rofi -show calc -modes "calc" -m DP-1 -no-persist-history -calc-command "wl-copy -f '{expression} = {result}'"
and I type
500DKK to GBP
it gives me
500 DKK = �\24356.42216592.

It should have been U+f154 "" or more universal U+00A3 "£"

Same happens with EUR:
500 DKK = �\202�67.02323025

Which I think should be all the symbols.
It happens when doing echo -n too.

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