Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7e51c47a02ccdbd7b09c43e84912a969cd939a594dfac25e14f42be1dc41b918
Ticket: 8cae59ecb03a6269468379a1e028c01f604ce5de
Eliminate "-encoding binary" in favour of "-translation binary"
User & Date: oehhar on 2024-06-20 09:03:46
Changes

  1. icomment:
    Hi Jan,
    thank you for bringing this up.
    
    Yes, the confusion is endless.
    
    I see value in having "-encoding binary" to tell, that it is 1:1.
    And "-encoding 8859-1" sets an encoding.
    
    By chance, both are the same.
    
    But having different names for the same thing is also a challenge.
    
    I can live with "-encoding binary" is accepted and magically changed to "-encoding 8859-1". But this is not beautiful.
    
    I have no clear opinion on this.
    
    The magic on setting multiple things the same time (-translation, -eofchar, -encoding) is handy. Specially, I like "open $f b". This "suggestes" that there is a special binary mode. But this does not exist in the interface. There are 3 independent settings in this field. And having "-encoding 8859-1" for binary makes the whole story more complicated.
    
    Thank you,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"