Skip to content
Tcl Source Code History Of Ticket f2e924e88181d602
Login

History Of Ticket f2e924e88181d602

Artifacts Associated With Ticket f2e924e88181d602

  1. Ticket change [ec7ece5e37] (rid 230401) by apnadkarni on 2024-08-20 05:37:13:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      The following writes emoji to a file in UTF16LE and reads the file back successfully. However, reads of a specific number of characters fails.
      
      ```
      % set fd [open utf16.txt wb]
      file26c91f9a4c0
      % puts -nonewline $fd [encoding convertto utf-16le A\U1F600]
      % close $fd
      % set fd [open utf16.txt]; fconfigure $fd -encoding utf-16le
      % read $fd
      A😀
      % close $fd
      % set fd [open utf16.txt]; fconfigure $fd -encoding utf-16le
      % read $fd 2
      error reading "file26c937c7370": invalid or incomplete multibyte or wide character
      % close $fd
      ```
      
      Note the full file read succeeds but the read of two chars fails.
      
      Marked as important because UTF-16LE is native to Win32 API.
      
    5. foundin initialized to: "9.0b3"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Error reading fixed number of characters from UTF16-LE file containing non-BMP chars
      
    16. type initialized to: "Bug"
  2. Ticket change [d9dbee60ce] (rid 231071) by apnadkarni on 2024-08-23 08:35:56:

    1. closedate changed to: "2460545.85829742"
    2. closer changed to: "apnadkarni"
    3. icomment: "Fixed in [df6a7e1b38]."
    4. login: "apnadkarni"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"