News for hackers. Stuff that matters.
Re:ASCII and Unicode quotation marks by leephillips on Wednesday September 13, 2017 @04:28PM (#15242267)
Nobody's keyboard had an em-dash key (well, maybe some compositor keyboards...). It's well worth the time to figure out how to enter at least the most useful Unicode characters. See, here's an em-dash: —.
Re:ASCII and Unicode quotation marks by Symbiote on Wednesday September 13, 2017 @05:27PM (#15242868)
Linux users should enable the compose key, it's very useful.

Test it with:

  setxkbmap -option compose:menu
Then press the menu/compose key (next to right control), then C, then =. You get €.

Try compose, 1, 2 for ½.

Compose, ^, 3 for ³.

Compose, A, : for Ä.

It's pretty intuitive for the most useful characters, and easily the fastest way I have of typing the ö, ñ and å in various colleagues' names.

Re:ASCII and Unicode quotation marks by jgtrosh on Wednesday September 13, 2017 @06:09PM (#15243195)
Actually, A: is not valid with the default compose bindings (it is however valid with vim digraphs). In general umlauts or trémas are inserted with the double quote (A").
Re:ASCII and Unicode quotation marks by YSFEJ4SWJUVU6 on Wednesday September 13, 2017 @05:40PM (#15242985)
Worth noting that international layouts (with dead keys) support many of those without the use of compose key (for obvious reasons not your first example – but the € symbol has its own key combination at least where it's commonly used). I admit it might be hard to adjust to caret being a dead key, though.
Re:ASCII and Unicode quotation marks by Symbiote on Thursday September 14, 2017 @03:13AM (#15245586)
Dead keys support accents, and a few symbols printed on the keyboard are discoverable, but I find the Compose key is much more intuitive for occasional use.

I don't yet speak the language of my adopted country, so it's better for me to keep []{} etc where I like them in the British layout, and use three keypresses for typing the ø in a (place) name like København.

If I do end up typing lots of Danish, I'll probably map AltGr+A,E,O to Å, Æ, Ø. É is rare, so I'll still use the Compose key for that and German / Swedish names.

Re:ASCII and Unicode quotation marks by pluma on Thursday September 14, 2017 @06:19AM (#15246475)
I use the default German keyboard layout. Even with dead keys I wouldn't have Nordic characters or the Turkish dotless i and dotted I. I love the Compose key. It's actually making me consider using the US layout because the lack of German glyphs was what was keeping me back.
Re:ASCII and Unicode quotation marks by ComputerGuru on Wednesday September 13, 2017 @09:17PM (#15244239)
I use the code behind this web app: http://latex2unicode.herokuapp.com/

It converts latex to unicode where possible. It's pretty impressive how much of Latex can be replaced with Unicode today.

This program translates LaTeX markup to human-readable Unicode when possible.

Here's the default text from that webapp:

Basic math notations: ∵ A͡B + B͡C ≠ A͡C ∴ ∬∜x̅ ξᶿ⁺¹ - ⅜ ≤ Σ ζᵢ ∴ ∃x∀y x ∈ Â

Easily type in hundreds of other symbols and special characters: , ℵ, Œ, ⇊, etc.

Font styles support: 𝔹𝕝𝕒𝕔𝕜 𝔹𝕠𝕒𝕣𝕕 𝔹𝕠𝕝𝕕, 𝔉𝔯𝔞𝔨𝔱𝔲𝔯, 𝐁𝐨𝐥𝐝 𝐅𝐚𝐜𝐞, 𝓒𝓪𝓵𝓵𝓲𝓰𝓻𝓪𝓹𝓱𝓲𝓬, 𝐼𝑡𝑎𝑙𝑖𝑐, 𝙼𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎.

Now type in this box and try it yourself. ⌣̈

Re:ASCII and Unicode quotation marks by alanh on Wednesday September 13, 2017 @09:37PM (#15244359)
Careful — some of the Unicode pseudoalphabets won't render on mobile.
Re:ASCII and Unicode quotation marks by ComputerGuru on Friday September 15, 2017 @12:42PM (#15258537)
No problem on iOS; I see the same thing that I see on my Windows desktop.