Earlier quoted context omitted.
Well, look forward to spammers using this to bypass the spam filters...
Also using similar unicode characters in your username for nefarious spoofing attacks or worse -- https://labs.spotify.com/2013/06/18/creative-usernames/ This is called a Homoglyph attack. If you accept unicode for strings that should be "unique" (eg username), there are various normalization schemes that basically convert equivalent-ish looking characters into a consistent hash. I have no doubt spam filters use this…
Show HN: unicode.style
61–70 of 70 posts
Re: Show HN: unicode.style
#62P.S.: It's look like you reinvent YayText[3] website ;-)
[0] http://adamvarga.com/strike/
[1] https://yaytext.com/strike/
Re: Show HN: unicode.style
#63Earlier quoted context omitted.
That really has to get fixed though.
It doesn't and shouldn't. The whole point of having Mathematical Alphanumeric Symbols as separate unicode code points, rather than just using normal latin characters with style markup, is so they can be used when the different letters have semantically different meanings -- in particular in maths when 𝘹 and 𝘅 can be in the same formula, representing different concepts. They're not a replacement for style markup. In…
Re: Show HN: unicode.style
#64𝔉𝔬𝔯𝔪𝔞𝔱 𝔱𝔢𝔵𝔱 𝔲𝔰𝔦𝔫𝔤 𝔲𝔫𝔦𝔠𝔬𝔡𝔢 𝔠𝔥𝔞𝔯𝔞𝔠𝔱𝔢𝔯𝔰. 𝔓𝔞𝔰𝔱𝔢 𝔞𝔫𝔶𝔴𝔥𝔢𝔯𝔢 𝔱𝔥𝔞𝔱 𝔞𝔠𝔠𝔢𝔭𝔱𝔰 𝔭𝔩𝔞𝔦𝔫 𝔱𝔢𝔵𝔱.
Re: Show HN: unicode.style
#65This reveals all kinds of bugs in current software. For example, if I use the tool to make a url italic, then pasting that url into Chrome's url bar gives me back a bunch of unicode rectangles. But that's not what I wanted. I wanted Chrome's url bar to interpret those unicode code points as an italic version of the actual unicode code points I want. Chrome should add a check for edge cases like these and add branches…
I can't tell if you're being serious or tongue-in-cheek, but I like this comment nonetheless. Did Unicode ever have any business assigning separate code points for italic versions of latin glyphs? Am I ignorant as to their true purpose? EDIT: SEMI just answered my second question. Math. Makes sense.
Here's the official answer to this question from the Unicode spec [1]:
"Mathematical notation requires a number of Latin and Greek alphabets that initially appear to be mere font variations of one another. For example, the letter H can appear as plain or upright (H), bold (𝐇), italic (𝐻), and script (ℋ). However, in any given document, these characters have distinct, and usually unrelated, mathematical semantics. For example, a normal H represents a different variable from a bold H, etc. If these attributes are dropped in plain text, the distinctions are lost and the meaning of the text is altered."
[1] https://www.unicode.org/versions/Unicode11.0.0/UnicodeStanda...
Re: Show HN: unicode.style
#66Am i supposed to normalize ALL untrusted user input or will that break normal text in some language i'm not familiar with? Or only normalize things that are supposed to be unique, like urls, usernames and other identifiers?
Re: Show HN: unicode.style
#67Earlier quoted context omitted.
HN supports italics it's not entirely plain-text
𝙾𝚗𝚎 𝚘𝚏 𝚝𝚑𝚎 𝚐𝚘𝚝𝚌𝚑𝚊𝚜 𝚘𝚗 𝙷𝙽 𝚝𝚘𝚍𝚊𝚢 𝚒𝚜 𝚠𝚑𝚎𝚗 𝚌𝚘𝚖𝚖𝚎𝚗𝚝𝚘𝚛𝚜 𝚞𝚜𝚎 𝚌𝚘𝚍𝚎 𝚏𝚘𝚛𝚖𝚊𝚝𝚝𝚒𝚗𝚐 𝚝𝚘 𝚖𝚊𝚔𝚎 𝚊 𝚋𝚕𝚘𝚌𝚔𝚚𝚞𝚘𝚝𝚎, 𝚝𝚑𝚎𝚗 𝚜𝚘𝚖𝚎𝚘𝚗𝚎 𝚎𝚕𝚜𝚎 𝚑𝚊𝚜 𝚝𝚘 𝚛𝚎𝚙𝚕𝚢 𝚠𝚒𝚝𝚑 𝚒𝚝 𝚞𝚗𝚏𝚘𝚛𝚖𝚊𝚝𝚝𝚎𝚍 𝚏𝚘𝚛 𝚝𝚑𝚎 𝚋𝚎𝚗𝚎𝚏𝚒𝚝 𝚘𝚏 𝚖𝚘𝚋𝚒𝚕𝚎 𝚞𝚜𝚎𝚛𝚜. 𝙸 𝚌𝚘𝚞𝚕𝚍 𝚜𝚎𝚎 𝚝𝚑𝚒𝚜 𝚋𝚎𝚒𝚗𝚐 𝚊 𝚠𝚘𝚛𝚔𝚊𝚛𝚘𝚞𝚗𝚍 𝚏𝚘𝚛 𝚝𝚑𝚊𝚝 𝚕𝚒𝚖𝚒𝚝𝚊𝚝𝚒𝚘𝚗.…
Re: Show HN: unicode.style
#68Re: Show HN: unicode.style
#69This reveals all kinds of bugs in current software. For example, if I use the tool to make a url italic, then pasting that url into Chrome's url bar gives me back a bunch of unicode rectangles. But that's not what I wanted. I wanted Chrome's url bar to interpret those unicode code points as an italic version of the actual unicode code points I want. Chrome should add a check for edge cases like these and add branches…
I can't tell if you're being serious or tongue-in-cheek, but I like this comment nonetheless. Did Unicode ever have any business assigning separate code points for italic versions of latin glyphs? Am I ignorant as to their true purpose? EDIT: SEMI just answered my second question. Math. Makes sense.
Thanks! I started by interpreting the tool as a serious and important feature of putting styling where UIs don't allow it. Then I did a quick stream-of-consciousness advocacy for fitting the feature in all the places where it isn't allowed.
The results are obviously bad, which is reassuring.
Re: Show HN: unicode.style
#70Earlier quoted context omitted.
It doesn't and shouldn't. The whole point of having Mathematical Alphanumeric Symbols as separate unicode code points, rather than just using normal latin characters with style markup, is so they can be used when the different letters have semantically different meanings -- in particular in maths when 𝘹 and 𝘅 can be in the same formula, representing different concepts. They're not a replacement for style markup. In…
How do screen readers handle other aspects of mathematical equations? For example, if I have an equation like "A equals B to the C", how do I represent this such that a screen reader will say it correctly? As far as I can tell, I can't. I see the FAQ you linked states that I'm supposed to use markup for this. Unfortunately, that means the screen reader needs to understand math markup to work correctly. If that's the…
This was one of the problems that MathML was built to solve, see https://accessibility.princeton.edu/blogs/mathml-accessible-...