Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2c5af5b22be305431b414a1be76fa7713b6abf74e23c73303de320e51f75a91c
Ticket: 535705ffffffffffffffffffffffffffffffffff
Tcl interface to stop on encoding errors
User & Date: jan.nijtmans on 2021-03-30 15:08:38
Changes

  1. icomment:
    @harald. The "encodings-with-flags" has better error-messages now, it doesn't give only the position, but also the byte or character where the error occurred and the Unicode value of it.
    
    Can you try it, and make modifications how you want the error returned? Since you have a use-case, you are the best person to review/revise how the API should look like. I'll leave it to you (if you accept that challenge....)
    
    The "encodings-with-flags" branch is now derived from the tip-597 branch. This branch has more encodings with more error-situations, this makes the STOPONERROR
    flag better testable. I think TIP #597 is ready to put up for voting.
    
    Thanks!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"