|
2023-02-10
| ||
| 08:23 | • Ticket [66063baec4] ncgi cannot handle 4-byte utf-8 characters status still Open with 4 other changes artifact: cbb405b9c1 user: anonymous | |
| 02:37 | • Add attachment diff.patch to ticket [66063baec4] artifact: 0024d21b9c user: anonymous | |
| 02:34 | • New ticket [66063baec4] ncgi cannot handle 4-byte utf-8 characters. artifact: 066ccfe536 user: anonymous | |
| Ticket UUID: | 66063baec4c411fc870bdb5055565e43dad6b2be | |||
| Title: | ncgi cannot handle 4-byte utf-8 characters | |||
| Type: | Patch | Version: | 1.4.4 | |
| Submitter: | anonymous | Created on: | 2023-02-10 02:34:36 | |
| Subsystem: | ncgi | Assigned To: | ||
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Open | Last Modified: | 2023-02-10 08:23:59 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
ncgi does not handle U+10000 to U+10FFFF. Currently it returns the char as 1-byte chars. Recently, I have been dealing more and more with surrogate pair characters and variant selectors, and would like to see support for these characters. package require ncgi #U+20BB7 set char "%F0%A0%AE%B7" set bin [encoding convertto utf-8 [ncgi::decode $char]] puts [binary encode hex $bin];#shoud be f0a0aeb7 #U+8FBB U+E0100 set char "%E8%BE%BB%F3%A0%84%80" set bin [encoding convertto utf-8 [ncgi::decode $char]] puts [binary encode hex $bin];#shoud be e8bebbf3a08480 | |||
Attachments:
- diff.patch [download] added by anonymous on 2023-02-10 02:37:38. [details]
