Re:"Paste this post into ChatGPT 4"
by iamjackg on Monday January 15, 2024 @01:57PM
(#39004605)
In case you're curious how it's done, here's the tweet when copied and piped to xxd
[ Parent
| on HN ]
Try this instead: xsel | iconv -t UTF-32 | tr -d '\000\016'
Re:"Paste this post into ChatGPT 4"
by tambourine_man on Monday January 15, 2024 @02:06PM
(#39004733)
I did the much same thing (pbpaste | xxd), but don't understand how the hidden characters are tipping ChatGPT.
Seems like some encoding difference. You can see the hidden message if you read it as UTF-8: https://www.babelstone.co.uk/Unicode/whatisit.html?utf8=Past...
It’s non-printing Unicode tag block characters that correspond directly to ASCII and the AI is able understand them. It’s a deprecated feature of Unicode once used to encode the language of text, but now its only supported usage is in country flag emojis. See here for more detail: https://x.com/goodside/status/1745511940351287394
Unicode was a mistake.