Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 25b478d9d2f0cbbcdbdc272362dcc7b7585ef6ab0f0c6fff6220fa1a43adf802
Ticket: c5bcbf349489ed5260b2fd21a3d9f7a195d82585
Output of surrogates seems to repeat following character
User & Date: apnadkarni on 2023-02-06 17:34:31
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    See the following output:
    
    ```
    % encoding system
    utf-8
    % puts A\uD800B
    ABB
    % puts A\uD800C
    ACC
    ```
    
    The parsing of the \u sequence seems correct as is the encoder:
    
    ```
    % binary encode hex [encoding convertto [encoding system] A\uDC00B]
    41edb08042
    ```
    
    which seems correct.
    
    It is not clear what should happen on output of a surrogate but this repeating of following character hints at a bug.
    
    /Ashok
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to:
    Output of surrogates seems to repeat following character
    
  15. type changed to: "Bug"