Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e82c4981cef2732804505f3c387db6a71db0349d87ede88fd603658953b86999
Ticket: bcd1004104651998d1ae99aa6869e249c0ed0019
A change to the system encoding, a stale cached file FsPath object, and an incorrect result
User & Date: jan.nijtmans on 2019-10-22 22:11:24
Changes

  1. assignee changed to: "pooryorick"
  2. icomment:
    Starting with [0f2870649c804dd8]: 
    <pre>
    encoding.test
    
    
    ==== encoding-2.2 Tcl_FreeEncoding: refcount != 0 FAILED
    ==== Contents of test case:
    
        encoding system shiftjis		;# incr ref count
        encoding dirs [list [pwd]]
        set x [encoding convertto shiftjis \u4e4e]	;# old one found
        encoding system iso8859-1
        llength shiftjis		;# Shimmer away any cache of Tcl_Encoding
        lappend x [catch {encoding convertto shiftjis \u4e4e} msg] $msg
    
    ---- Result was:
    ŒÁ 0 ŒÁ
    ---- Result should have been (exact matching):
    ŒÁ 1 {unknown encoding "shiftjis"}
    ==== encoding-2.2 FAILED
    </pre>
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"