søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

movq (www.uninformativ.de)

Other than the few Unicode issues I mentioned recently, vim-classic works just fine. I completely forgot that I switched to it.

Read replies 4 months ago
lyse (lyse.isobeef.org)

@movq What kind of Unicode do you use? All the new emojis?

In reply to: #6ar6zla 5 months ago
movq (www.uninformativ.de)

I noticed that there are quite a few UI glitches in vim-classic – and quickly found the cause: It comes with outdated Unicode tables.

I have to admit that I wasn’t aware that there’s a new Unicode release every year:

https://en.wikipedia.org/wiki/Unicode#Versions

Look at this huge number of changes. Every program has to keep track of that, often through libraries but sometimes not (like in Vim’s case).

I use Unicode extensively, but this shit is extremely expensive …

My TUI framework is having the same problem. At the moment, this is all offloaded to wcwidth, but if that library was to become unmaintained, I’d have to track Unicode myself.

Gah!

The DOS days were simpler. CP437, end of story. (Yes, I know that’s a lie.)

Read replies 5 months ago
lyse (lyse.isobeef.org)

@movq Oh, whoops, hahaha! :-D Yeah, I also noticed Markus' Unicode work yesterday. Really cool.

In reply to: #fkozarq 5 months ago
movq (www.uninformativ.de)

@lyse Oh, no, he was the one providing the feedback. 😅

mgk appears to be everywhere. His Unicode box drawing demo has been part of my unicode-test script for a long time: https://movq.de/git/bin-pub/file/unicode-test.html#l23

In reply to: #y7lz5wq 5 months ago
anth (a.9srv.net)

Awk to take lines from Plan 9's /lib/unicode and prepend the actual glyph and a tab: awk '{cmd=sprintf("unicode %s", $1); cmd | getline c; printf("%s %s\n", c, $0)}'

Read replies 11 months ago
falsifian (www.falsifian.org)

@bender @prologic I'm not exactly asking yarnd to change. If you are okay with the way it displayed my twts, then by all means, leave it as is. I hope you won't mind if I continue to write things like 1/4 to mean "first out of four".

What has text/markdown got to do with this? I don't think Markdown says anything about replacing 1/4 with ¼, or other similar transformations. It's not needed, because ¼ is already a unicode character that can simply be directly inserted into the text file.

What's wrong with my original suggestion of doing the transformation before the text hits the twtxt.txt file? @prologic, I think it would achieve what you are trying to achieve with this content-type thing: if someone writes 1/4 on a yarnd instance or any other client that wants to do this, it would get transformed, and other clients simply wouldn't do the transformation. Every client that supports displaying unicode characters, including Jenny, would then display ¼ as ¼.

Alternatively, if you prefer yarnd to pretty-print all twts nicely, even ones from simpler clients, that's fine too and you don't need to change anything. My 1/4 -> ¼ thing is nothing more than a minor irritation which probably isn't worth overthinking.

In reply to: #gctrz4q 2 years ago
xuu (txt.sour.is)

@lyse What the heck? no emoji? do you even Unicode!

In reply to: #2q4ptxq 5 years ago
xuu (txt.sour.is)

@prologic lol. just testing some Unicode.

In reply to: #cyz275a 5 years ago
jcolag (john.colagioia.net) Read replies 5 years ago
Reply via email