utf8splain icon indicating copy to clipboard operation
utf8splain copied to clipboard

Add column for display character (vocab?) to output of runes()

Open jennybc opened this issue 8 years ago • 2 comments

Continuing from this twitter convo

Could the output of runes() re-iterate the displayed characters? Apologies if I'm using the wrong vocab but what I mean is the first column you see here:

https://apps.timwhitlock.info/unicode/inspect?s=hello+🌍

screen shot 2017-08-03 at 10 19 22 am

jennybc avatar Aug 03 '17 17:08 jennybc

Thanks for adding this here. I'll make a few tests, I'm just worried about printing anything.

romainfrancois avatar Aug 03 '17 21:08 romainfrancois

Looks like stringi::stri_escape_unicode can help

romainfrancois avatar Aug 21 '17 23:08 romainfrancois