does chinese code take up less space? wait how many bytes does it take to encode a chinese character? is it just UTF-8 or is it something else
Comment on Anon is a linguist
fibojoly@sh.itjust.works 4 days ago
It’s not theDog.walks(), it’s 狗.走()
Conjugate this you anglocentrist fuck!
alias_qr_rainmaker@lemmy.world 4 days ago
fibojoly@sh.itjust.works 4 days ago
UTF-16 is fine for the cat majority of Chinese characters. It has been standard since 2008 for C++ (at least for code that wants to be running on windows; Microsoft moved everything to w_string back then).
C# uses UTF-16 natively for strings.
Dunno about other languages
Camille_Jamal@sh.itjust.works 3 days ago
HAHAHAHA
I love how evil this is
Don’t speak any chinese languages (or is that japanese?) but I do know that most words don’t have a direct translation to english
HAHAHAHHAHAHAHAHAAAAAAAA I’M STEALING THAT IDEA!
I’m forced to learn french because I’m in canada, so if I get corrected I can chuck a phrase of similar meaning with no direct translation
God I love doing stuff like this
farting_gorilla@lemmy.world 3 days ago
狗。走。了()
There you go, you canine-centric bastard