|
From: Peter Da S. <pet...@fl...> - 2023-02-02 17:53:17
|
I really like this idea. It also adds the option of turning flags off (eg {strict 0})
The value of "-encoding" could be a dictionary:
chan configure $chan -encoding {name utf-8 strict 1 surrogates 0 ...}
If the number of items in the list is odd, "name" could be implied:
chan configure $chan -encoding {utf-8 strict 1 surrogates 0 ...}
chan configure $chan -encoding utf-8
|