Topic: https://brettterpstra.com/2014/01/09/markdown-service-tools-and-utf-8/
hide preview

What's next? verify your email address for reply notifications!

Lri 11y, 18d ago

You could also use `IO.popen("LC_CTYPE=UTF-8 pbcopy", "w") { |io| io.print "text" }`.

LANG and LC_ALL have to include the language and territory parts (like en_US.UTF-8) but LC_CTYPE can be set to just UTF-8.

hide preview

What's next? verify your email address for reply notifications!