Deutsch   English   Français   Italiano  
<vjhiar$3f9go$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Uwe Schmitz <schmitzu@mail.de>
Newsgroups: comp.lang.tcl
Subject: Tcl9: source files are interpreted as utf-8 by default
Date: Fri, 13 Dec 2024 16:02:51 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <vjhiar$3f9go$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Dec 2024 16:02:51 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ec8d9bb9db8e7a75e054905540d9655e";
	logging-data="3647000"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+nfGth0h7XS3zN9azWkvamUyuL33DfM7E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:FQifrQHj+f14uVAM3IgS255u5A0=
Content-Language: de-DE
Bytes: 1555

Folks,

is it possible in Tcl9 to get the old (8.x) behaviour back,
that tcl files are read with system encoding instead of
utf-8?
Is there e.g. an environment variable or a configure
switch to change this?

I found:

--with-encoding         encoding for configuration values (default: utf-8)

but, what is meant with "configuration values"?

I've the problem that almost all of my sources contain some
umlauts and are, for legacy reasons, in iso8859-1. If it's
not possible to get the old behavior back, I have to
edit every pkgIndex.tcl and every tclsh <script> call
before I'm able to migrate.

Thanks in advance
Uwe