Overview
| Artifact ID: | bb1cbcb9ccd14036b85b1c75c328d2935b8232f97033261e5e6e042ae04ac433 |
|---|---|
| Ticket: | 85ddd247b637bcb25990fc55536e0ce3f9e754b2
Unable to set channel to binary encoding |
| User & Date: | pooryorick on 2024-06-22 22:04:53 |
Changes
- icomment:
For those struggling to understand this concept, consider a similar situation with lists: Every list is a string, i.e. Unicode text. Internally, for performance sake, a structured representation of a list may be attached to the Tcl_Obj for that value, but that's just an optimization. A list is Unicode text, and if you want to, you cant treat it as a list. The same is true with binary data in Tcl: Binary data is Unicode text, and if you want to, you can treat the characters in that text as values representing something other than characters. That doesn't change the fact that the value is Unicode text. In Tcl there is no bifurcation between text and binary values. It's all text. It's just that some text can be interpreted as binary if that's what suits the application.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"