r/ProgrammerHumor • • Oct 04 '26

Meme architectureDependentChars

Post image
3.0k Upvotes

372 comments sorted by

View all comments

Show parent comment

6

u/DOOManiac Oct 04 '26

Yes. Multi-byte characters.

There you go, all done.

22

u/frikilinux2 Oct 04 '26

But those don't have the c type char

1

u/rabb2t Oct 05 '26

#define-ing char to wchar_t or something isn't beyond some C developpers I've met, I swear. there's some wild preprocessor usage out there

1

u/frikilinux2 Oct 05 '26

That has to break the language if you define that shit before the standard library includes.

But I haven't done C in a while. You guys act like the C runtime is as nice as Python's and not nasal demons.

1

u/Still_Bit_7527 Oct 05 '26

Aren't they supported natively in c++? Wtf.