|
|
> @be_seeing_you @ttscoff Throw stuff in clipboard to get RTF out. Using an apple dev incident to figure out the encoding bug you see in test
Was it that you didn't specify an encoding for textutil? It jumbled up non-ASCII characters unless I added -inputencoding UTF-8:
textutil -inputencoding UTF-8 -format html -convert rtf -stdin -stdout <<< "<style>$(cat /Applications/Marked.app/Contents/Resourc...%3C/style%3E$(multimarkdown "Marked.app/Contents/Resources/swiss.css)</style>$(multimarkdown”){rel=“nofollow” target=“_blank”} <<< '# aäあ')" | LC_ALL=UTF-8 pbcopy
pbcopy also uses ASCII if LC_CTYPE is C (or unset).
Source: https://my.remarkbox.com/3ce183d6-4208-11e9-9d31-040140774501
Snapshot: 2026-05-07T01:09:35Z
Generator: Remarkbox 763cacb