Skip to content

Issues at printing some symbols  #7

@touxstone

Description

@touxstone

Hi, I was testing this gorgeous contribution (I knew about this package from playing with js-comint on javascript buffers) and I've just found issues when printing, for instance, in the example below, the pound simbol £ though only when working on EMACS. Trying the same example with tsun on the command line it renders as expected. Any help or clue ??. I'd appreciate it.

    function dctoVip(x) {
        return x > 20 ? `Yes!! you got 20% OFF, so only have to pay £${x - x * 0.20}` :
            `Thanks very much! Shop for additional £{20 - x} and you will get 20% discount??`
    }
// testing for instance a shopping of £15
    console.log(dctoVip(15))
//output I got 
// >> Thanks very much! Shop for additional 5 and you will get 20% discount

output expected:

Thanks very much! Shop for additional £5 and you will get 20% discount

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions