Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a5046fe515a32bffa6985450874aa6bea87a35df
Ticket: 0d645369ff34148a386ea4c7d356fd6607e62940
Test "chan-io-52.11 TclCopyChannel & encodings" fails for Win32
User & Date: oehhar on 2016-07-26 11:59:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Test "chan-io-52.11" fails as follows:
    <verbatim>
    ==== chan-io-52.11 TclCopyChannel & encodings FAILED
    ==== Contents of test case:
    
        # binary to encoding => the input has to be in utf-8 to make sense to the
        # encoder
        set in  [open $path(utf8-fcopy.txt) r]
        set out [open $path(kyrillic.txt) w]
        # -translation binary is also -encoding binary
        chan configure $in  -translation binary
        chan configure $out -encoding koi8-r -translation lf
        chan copy $in $out
        chan close $in
        chan close $out
        file size $path(kyrillic.txt)
    
    ---- Result was:
    4
    ---- Result should have been (exact matching):
    3
    ==== chan-io-52.11 FAILED
    </verbatim>
    for
    
       *   tcl 8.6.6rc1
       *   Platform: Win 10 GER 64 bit
       *   Compiled by: MS-VC6 + PSDK2003SP1, Makefile.vc
    
  5. foundin changed to: "8.6.6rc1"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Test "chan-io-52.11 TclCopyChannel & encodings" fails for Win32
    
  16. type changed to: "Bug"