Unicode

How did it become such ever growing abomination of a standard?
Why is it so ambiguous, overengineered and complex that handling it in a non-exploitable way is almost impossible?
Why include fucking emojis, for fucks sake?
Will it include cave paintings in the future?

Other urls found in this thread:

en.wikipedia.org/wiki/ASCII
twitter.com/AnonBabble

unicode is great. The only relevant encoding, all other encodings are shit. especially whatevrer windows uses in the command prompt

chcp 65001

modern windows uses unicode literally everywhere, including the console (the internal representation)

ironically, due to unicode being a contraption, it's also fucked up in several places

>modern windows uses unicode literally everywhere, including the console (the internal representation)
t. someone who never used the windows console for any sort of software development.

Any time you use almost any sort of non-ascii symbol like PI then it throws an error or even crashes so in what way do they use unicode? That is only true in your shitty science fiction fantasy

> doesn't have a clue
NT kernels use UTF-16 internally since like win2000 or so. What you see is a compatibility layer.

>non-ascii symbol like PI

It's because there are many command line programs around the world that depend on the Windows command prompt using a legacy encoding. You can tell the command prompt to use UTF-8 with chcp 65001 (and then file redirection will work as expected), but then you get a bunch of boxes when working interactively because of command prompt's awful handling of fonts. PowerShell ISE is actually the best way to work with Unicode on Windows, outside of something like Cygwin.

As for your crashes, it sounds like you have a bug in your program, probably because you didn't read the fucking docs.

>As for your crashes, it sounds like you have a bug in your program, probably because you didn't read the fucking docs.

No I don't... I made the program and it works fine on any windows gui or linux for that matter.

It's literally just printing a string that it can't handle. Nothing complicated. Windows is shit

>How did it become such ever growing abomination of a standard?
There are a lot of extant writing systems and representing them in a single standard is complicated.

>Why is it so ambiguous, overengineered and complex that handling it in a non-exploitable way is almost impossible?
There are a lot of extant writing systems and representing them in a single standard is complicated.

>Why include fucking emojis, for fucks sake?
Backward compatibility with certain East Asian encodings

>Will it include cave paintings in the future?
Given the fact it already includes a number of undecipherable ancient logographs already I'd be surprised if it wouldn't.

what are you trying to convey?

Just because it "works fine" in some places doesn't mean the problem lies with Windows. If you make assumptions that happen to "work fine" on some platforms but not on others, then you have a bug.

For example, on Linux you can assume that stdin is in binary mode (indeed, because of the fact that Linux makes no distinction between binary and text). The same is not true of Windows. If you try to receive binary data from stdin on Windows without switching the mode to binary first, you'll probably crash later when your data is not as expected. Then you'd probably blame Windows, unless you'd read the docs.

it works fine everywhere except the windows console, you can even run the code on minix, plan9 and all sorts of exotic OSs. even windows outside the console. It is the console that is shit and cant even do simple shit.

50 cent sent to your account, pajeet. Thank you for shilling.

that π is an ascii character. It's a number between 0 and 9 and therefore among the ascii characters

If you meant PI, that's two symbols which are both in ASCII.
If you meant π, this is also a ASCII symbol from an extended table.

>got a reasonable answer
>hurr durr pajeet m$ shill install gentoo

Unicode isn't an encoding.

>compatibility layer

Hey at least win 10 still got the registry everyone loves.

>ASCII symbol
>from an extended table
That's not ASCII dumbfuck
en.wikipedia.org/wiki/ASCII

>Backward compatibility with certain East Asian encodings
East Asian encodings didn't include nigger women emojis

Well... At least Sup Forums is anonymous. What is unicode then.

>East Asian encodings didn't include nigger women emojis

Oh yeah? Then how do you write "nigger woman" in chinese? They don't have letters for that I don't think.

黑人妇女

Well, emojis are the classic way to write it. When the court of the ming emperor wanted to write about nigger women, they just used an emoji.

The emperor did not have time to read 4 letters, they had to improvise.