48 points

amazing work. I just changed all my production systems to UTF-Random! �������������������������������. �����������������������������!

permalink
report
reply
16 points
*

You have to wait until 930am Monday morning to do that. Everybody will appreciate it more.

permalink
report
parent
reply
12 points

5 minutes before I go on a 3 week long vacation to a remote island obviously!

permalink
report
parent
reply
19 points

This almost seems like a good idea… if unicode weren’t already shaky enough.

UTF-8 is, honestly, pretty amazing. It lets you do things like compose latin-character text, and then interpose words like 𰻞.

That’s ‘biáng’, which is, to my understanding, a kind of Chinese noodle dish. It’s apparently the most complex Chinese character, comprising more than 50 strokes. (https://www.compart.com/en/unicode/U+30EDE).

In hex it’s encoded as: 0xF0 0xB0 0xBB 0x9E

So, yeah, only 8 bytes to describe a character that looks like white noise to me unless I zoom WAY in on it! (My vision’s getting pretty bad, tbh. I need it to be about the size it shows up on compart.com to make out the individual radical characters.)

If you were to count strokes on ‘biáng’, you end up with 5 bytes to encode 11 pen strokes or 2.2 strokes per byte. At 8 bytes to 57 pen strokes, the information density goes up to 7.125 strokes per byte.

So in Latin characters provided by UTF-8, you end up with very similar storage requirements. To encode the much more complex character, you get more than 3 times the information density.

permalink
report
reply
12 points

Even UTF-16 used by Windows isn’t fair because it needs twice as much space for hieroglyphs. Won’t someone think of the ancient Egyptians?

Seriously, now that most display systems can handle putting accents on letters instead of needing a code point just for á, a new universal encoding would be nice. Purge it of Unicode’s precomposed letters, duplicated Chinese characters, and duplicated-in-retrospect letters and you could fit another few alphabets into Plane 0.

But convincing tech companies to make webpages bigger seems difficult.

permalink
report
reply
11 points

But convincing tech companies to make webpages bigger seems difficult.

Do we live in opposite universes or something?

permalink
report
parent
reply
8 points

UTF-32 is completely fair.

permalink
report
reply
4 points

Was zum Fick!?

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments