Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 189684aee8ab38d37ed40c624f55b08df4b6af7d1c69e211bff2445a0062c066
Ticket: 0b9332722ad7a3c1aa4d15902080333db8dda294
Support utf-8 on Windows console
User & Date: anonymous on 2020-01-13 06:40:08
Changes

  1. comment changed to:
    When UTF-8 feature is enabled in Windows, the console reports code page 65001. This is an official code page value with constant CP_UTF8, but this code page is not recognised by Tcl. Tcl tries to initialize encoding cp65001, but this fails, so iso8859-1 is used instead. Easiest fix is to initialize the encoding to utf-8 instead of cp65001.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"