Timeline for Chinese color mixing
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 30, 2023 at 8:23 | history | edited | Peter | CC BY-SA 4.0 |
added 579 characters in body
|
| Jul 27, 2023 at 19:49 | comment | added | Peter | @KevinCruijssen Sorry, I should have thought about that - I just copied the code golf submission from TIO. I've corrected the header now :) | |
| Jul 27, 2023 at 19:44 | history | edited | Peter | CC BY-SA 4.0 |
edited body
|
| Jul 27, 2023 at 12:44 | comment | added | tsh | I believe this is 51 bytes if it can be compiled using Big5. Otherwise, it should be 61 bytes for UTF-8. | |
| Jul 27, 2023 at 8:53 | comment | added | Kevin Cruijssen |
@Neil Yeah, I noticed the same. It uses SBCS (Single Byte Character Set) for all C versions on TIO, not just gcc. When I change the language to let's say Java, it does correctly display 41 chars, 61 bytes (UTF-8), as I would have expected it would also show for the C languages.
|
|
| Jul 27, 2023 at 8:35 | comment | added | Neil | How to print wide characters. | |
| Jul 27, 2023 at 8:35 | comment | added | Neil | @KevinCruijssen Weird, TIO defaults to SBCS for gcc for some reason... | |
| Jul 27, 2023 at 8:29 | comment | added | Kevin Cruijssen | I don't know gcc, but does it have a custom encoding? This seems to be 41 characters, but 61 bytes (in UTF-8)? | |
| Jul 27, 2023 at 8:22 | history | undeleted | Peter | ||
| Jul 27, 2023 at 8:20 | history | deleted | Peter | via Vote | |
| Jul 27, 2023 at 8:20 | history | answered | Peter | CC BY-SA 4.0 |