Sujet : Re: Tcl9: source files are interpreted as utf-8 by default
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tclDate : 10. Jan 2025, 01:12:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlpom0$3jtf8$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Luc <
luc@sep.invalid> wrote:
On Thu, 9 Jan 2025 15:37:22 -0000 (UTC), Rich wrote:
If things work properly, it might be best to start that conversion
(even if you do it slowly over time) sooner rather than later. It
will be work, but it is work that you are likely going to have to
perform at some point anyway.
Yes, but now I think that Tcl9 is wrong. Blanket imposition of any
enconding is unfair.
Tcl has to do one of two things:
1) Pick a default it will use.
2) Use the "system encoding" (which is still 'imposing', just
'imposing' whatever the OS itself imposes).
But there always /is/ an encoding being used, because there is no way
to process a textual file otherwise. Some "encoding" has to be chosen
to use to decode the characters in text files.