|
|
|
|
|
by Tronic2
2264 days ago
|
|
char effectively behaves as a signed type, making it unsuitable for binary operations (e.g. UTF-8 manipulation). I/O functions deal with char pointers, so using unsigned type like uint8_t requires casting back and forth. Is there any way out of this problem, and am I already breaking the aliasing rules with that cast? |
|
Yes, there are real-world implementations where plain char is unsigned.