Skip to content
Tcl Source Code History Of Ticket bd1a60eb9c080fc4
Login

History Of Ticket bd1a60eb9c080fc4

Artifacts Associated With Ticket bd1a60eb9c080fc4

  1. Ticket change [73dfd935df] (rid 208668) by apnadkarni on 2023-02-11 16:23:52:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      I think the following is a bug as conformant utf-8 streams are explicitly not permitted to have encoded surrogates.
      
      ```
      % proc codepoints {s} {join [lmap c [split $s ""] {
          string cat U+ [format %.6X [scan $c %c]]}]
      }
      % codepoints [encoding convertfrom -strict utf-8 \xed\xa0\x80\xed\xb0\x80]
      U+010000
      ```
      
      Above should generate an exception.
      
      Looking at fixing (in apn-encoding-profile branch for now, but above sample is from core-8-branch).
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "16. Commands A-H"
    14. title initialized to:
      convertfrom utf-8 strict mode allows surrogates in input sequence
      
    15. type initialized to: "Bug"
  2. Ticket change [cd44f8c912] (rid 208669) by apnadkarni on 2023-02-11 16:32:24:

    1. comment changed to:
      I think the following is a bug as conformant utf-8 streams are explicitly not permitted to have encoded surrogates.
      
      ```
      % proc codepoints {s} {join [lmap c [split $s ""] {
          string cat U+ [format %.6X [scan $c %c]]}]
      }
      % codepoints [encoding convertfrom -strict utf-8 \xed\xa0\x80\xed\xb0\x80]
      U+010000
      ```
      
      Above should generate an exception.
      
      Looking at fixing (in apn-encoding-profile branch for now, but above sample is from core-8-branch).
      
      Tcl9 behaves as expected.
      
      ```
      % codepoints [encoding convertfrom -strict utf-8 \xed\xa0\x80\xed\xb0\x80]
      unexpected byte sequence starting at index 0: '\xED'
      ```
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [6fad852ebb] (rid 208711) by jan.nijtmans on 2023-02-13 22:12:17:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  4. Ticket change [7c442acde7] (rid 208758) by jan.nijtmans on 2023-02-15 07:32:15:

    1. closedate changed to: "2459990.81406387"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Fixed now in core-8-branch and trunk"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  5. Ticket change [6d2ccba394] (rid 213016) by pooryorick on 2023-04-16 13:21:48:

    1. closedate changed to: "2460051.05680738"
    2. closer changed to: "pooryorick"
    3. icomment: "Jan's fix is in [84f30c5d4ee1a14a]."
    4. login: "pooryorick"
    5. mimetype: "text/x-fossil-wiki"