Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19c38d5b5b4b90b825582f4fa1421ccd865aadb10d26f31504f480310a551b54
Ticket: 9575f0dec854ee0a7fb6e7edc9e351b9f3ae194f
http::CharsetToEncoding: map GB18030 to GB2312
User & Date: oehhar on 2020-11-02 10:07:35
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    TCL does not feature a GB18030 encoding.
    Nevertheless, this encoding is compatible on the 16 bit unicode plane to GB2312.
    (See Wikipedia: [https://en.wikipedia.org/wiki/GB_18030]).
    
    The 16 bit unicode plane of GB18030 is mandatory for all software products in China, so support may be important.
    
    The proposal of this ticket is to map GB18030 to GB2312 in http::CharsetToEncoding.
    
    If GB18030 is used as a specified charset in a http transaction, at least 16 bit codes are correctly decoded. Any other code is anyway not representable by TCL8.6.10.
    
    Example of a http reply header:
    <verbatim>
    Content-Type: text;charset=GB18030
    </verbatim>
    
    Just an idea. I am not deeply in this subject but this may help some people from this region.
    
    Thank you,
    Harald
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "29. http Package"
  15. title changed to: "http::CharsetToEncoding: map GB18030 to GB2312"
  16. type changed to: "Bug"