Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2fb00348c4dc7537ff28bc979db0f8e1cb99b6588c94abf2268bd194bdc6fb39
Ticket: d433c0e0add0496ef4a7d73c8580149605dadff6
TCL_UTF_MAX == 4 problems
User & Date: chw on 2019-11-12 23:43:27
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. 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).
    
  5. foundin changed to: "core-8-6-10-rc"
  6. is_private changed to: "0"
  7. login: "chw"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
  10. resolution changed to: "None"
  11. severity changed to: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "chw"
  14. subsystem changed to: "44. UTF-8 Strings"
  15. title changed to: "TCL_UTF_MAX == 4 problems"
  16. type changed to: "Bug"