Tcl Source Code

View Ticket
Login
Ticket UUID: 00c62f6777b0f0418c15c54af76c05b82c2c5101
Title: Build test env-4.3, env-4.4 and env-4.5 failed
Type: Bug Created on: 2019-11-27 08:30:23
Submitter: udok70 Assigned to: jan.nijtmans
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:28
Status: Closed Closed by: serhiy.storchaka
Resolution: Out of Date Closed on: 2026-10-20 21:33:40
Version: 9.0a1
Description:
Build on Windwos 10, MSVC 2019 64 Bit.

Run  nmake -f makefile.vc test from a Cygwin console.

environment LANG=C.UTF-8


If i cmpile with OPTS=utfmax i get other errors results with env.test



env.test


==== env-4.3 setting international environment variables FAILED
==== Contents of test case:

    set env(\ua7) \ub6
    getenv

---- Result was:

---- Result should have been (exact matching):
\u00a7=\u00b6
==== env-4.3 FAILED



==== env-4.4 changing international environment variables FAILED
==== Contents of test case:

    set env(\ua7) \ua7
    getenv

---- Result was:

---- Result should have been (exact matching):
\u00a7=\u00a7
==== env-4.4 FAILED



==== env-4.5 unsetting international environment variables FAILED
==== Contents of test case:

    set env(\ub6) \ua7
    unset env(\ua7)
    getenv

---- Result was:

---- Result should have been (exact matching):
\u00b6=\u00a7
==== env-4.5 FAILED
User Comments:
jan.nijtmans added on 2019-11-27 08:43:47:
Well, OPTS=utfmax is not officially supported (yet). But I will have a look at this.

serhiy.storchaka added on 2026-10-20 21:33:40:

Not reproducible any more. env-4.3 to env-4.5 (and all of env.test) pass on Windows 11 with MSVC 2022 and MSYS2 UCRT64 builds of main (9.1), run from an MSYS2 bash with and without LANG=C.UTF-8; with 9.0.5 and 8.6.18 too. OPTS=utfmax no longer exists: Tcl 9 always uses 4-byte UTF-8. Closing as out of date; please reopen if it still fails in your setup.