News for hackers. Stuff that matters.
Re:Unicode is harder than you think by zadokshi on Tuesday July 25, 2023 @08:08PM (#36871439)
Apologies if I come off a bit strong on this one. I deal mostly with non “American” text so it’s a pain point. Unicode is so messy, trying to push handling it on to each individual programmer is not an ideal situation.

Let’s just say, no one in Greece, Iceland, or Korea is sitting around wondering if their new programming language should support their alphabet natively.

Imagine being from a country where a language’s built in Strcmp doesn’t work?

Re:Unicode is harder than you think by alcover on Tuesday July 25, 2023 @08:33PM (#36871633)
No problem !

> Imagine being from a country where a language’s built in Strcmp doesn’t work?

Problem is it's seemingly a massive headache. Citing the article, "Unicode handling is always best left to a library".

I could bundle the recommended lib (ICU) into my lang's stdlib but it seems quite big...

Re:Unicode is harder than you think by qalmakka on Thursday July 27, 2023 @03:37AM (#36890210)
To be fair, that has never stopped people from using C and C++ all around the world...

EDIT: and most languages made before 1990 too