Timeline for Can not use `cut -c` (`--characters`) with UTF-8?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 11, 2023 at 13:30 | comment | added | Skippy le Grand Gourou | @phuclv Right, comment removed. Please keep yours as it’s informative (hopefully readers will understand it refers to a deleted comment and not to the answer…). | |
| Jul 11, 2023 at 3:51 | comment | added | phuclv | @SkippyleGrandGourou no that's wrong. UTF-8, UTF-16 and UTF-32 are just different encodings of Unicode, and all can represent characters up to U+10FFFF?. Characters outside the BMP are represented by 4 bytes in both UTF-8 and UTF-16 | |
| Jun 13, 2022 at 15:48 | comment | added | Skippy le Grand Gourou |
@frabjous They seem to count for two characters, try echo '😀removethis' | colrm 3. ;)
|
|
| Jun 13, 2022 at 14:43 | comment | added | frabjous |
colrm doesn't seem to handle emojis well: echo '😀removethis' | colrm 2 returns nothing for me.
|
|
| Mar 22, 2019 at 14:13 | history | answered | Skippy le Grand Gourou | CC BY-SA 4.0 |