Overview
| Artifact ID: | 2fb00348c4dc7537ff28bc979db0f8e1cb99b6588c94abf2268bd194bdc6fb39 |
|---|---|
| Ticket: | d433c0e0add0496ef4a7d73c8580149605dadff6
TCL_UTF_MAX == 4 problems |
| User & Date: | chw on 2019-11-12 23:43:27 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
On Debian 9 using $ cd .../unix ; CC="cc -DTCL_UTF_MAX=4" ./configure --prefix=/tmp/mytcl --disable-static ; make $ ./tclsh % set X "\U1F602" freezes when run in a gnome-terminal. If an xterm is used instead, more chars than expected are output from the tclsh, as shown in this strace dump: write(1, "\360\302\230\302\230\302\202\r\n", 9) = 9 When rebuilding with $ cd .../unix ; CC="cc -DTCL_UTF_MAX=6" ./configure --prefix=/tmp/mytcl --disable-static ; make $ ./tclsh % set X "\U1F602" the emoji is properly displayed in gnome-terminal and strace yields the expected write(1, "\360\237\230\202\r\n", 6) = 6 Right now, this ticket is a showstopper for undroidwish/vanillawish (not for AndroidWish).
- foundin changed to: "core-8-6-10-rc"
- is_private changed to: "0"
- login: "chw"
- priority changed to: "5 Medium"
- private_contact changed to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution changed to: "None"
- severity changed to: "Cosmetic"
- status changed to: "Open"
- submitter changed to: "chw"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "TCL_UTF_MAX == 4 problems"
- type changed to: "Bug"