Deutsch   English   Français   Italiano  
<vlm45q$2qvor$2@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!eternal-september.org!.POSTED!not-for-mail
From: Uwe Schmitz <schmitzu@mail.de>
Newsgroups: comp.lang.tcl
Subject: Re: Tcl9: source files are interpreted as utf-8 by default
Date: Wed, 8 Jan 2025 16:04:26 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <vlm45q$2qvor$2@dont-email.me>
References: <vjhiar$3f9go$1@dont-email.me> <vljmj2$29vdo$1@dont-email.me>
 <20250107160810.07ddbbe6@lud1.home> <vlllha$2nvqo$2@dont-email.me>
 <20250108113519.42eb3746@lud1.home> <20250108114254.7f56f049@lud1.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 08 Jan 2025 16:04:27 +0100 (CET)
Injection-Info: dont-email.me; posting-host="16d4f685a9efab1420a04f2d2c4b5643";
	logging-data="2981659"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+0k7Mp5MAzj4jDPKgMSMvTPAEH73DJKrE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:R7+ol+Vj3J1694RfIy8Ka9sKF9U=
Content-Language: de-DE
In-Reply-To: <20250108114254.7f56f049@lud1.home>
Bytes: 1931

Am 08.01.2025 um 15:42 schrieb Luc:
> On Wed, 8 Jan 2025 11:35:19 -0300, Luc wrote:
> 
>> I can get my encoding in the ::env array on Linux. Can you on Windows?
>> If so, maybe you can use that to set the encoding in the beginning
>> of all scripts and never have to change it because it will adjust
>> automatically.
> **************************
> 
> Another idea: force all scripts to source a set_encoding.tcl file
> stored somewhere. If you ever have to change, you change the one file
> and move on. You could even make it blank if convenient or necessary.
> 
> 
Nice try, but I don't think it's possible to set the encoding within the file.
And that for one simple reason: the file has already been read.