$ echo "Some text here" | perl -CS -pe 'tr/A-Za-z/\x{1d504}-\x{1d51d}\x{1d51e}-\x{1d537}/'
𝔖𝔬𝔪𝔢 𝔱𝔢𝔵𝔱 𝔥𝔢𝔯𝔢
echo "Some text here" | perl -CS -pe 'tr/A-Za-z/\x{1d504}-\x{1d537}/'
Anyone know why these are codepoints in Unicode? They've been there a long time, but I'm curious why they weren't considered typographic variants.They're used in Japanese and Korean (and possibly other languages) to label items in ordered lists. As such, there can be an important distinction between "Item (1)" and "Item ① ", and it can be necessary to preserve that distinction in plain text.
Particularly odd to see things like ⓫ (but no black 0-10) and ⓻ vs ⑦.❶ through ❿ are in the "Dingbats" block.
« Older Google broadcasting today's Lunar Eclipse real-tim... | Bitcoin is growing up: early a... Newer »
This thread has been archived and is closed to new comments
posted by Wolfdog at 4:03 PM on June 15, 2011 [1 favorite]