|
From: Peter Da S. <pet...@fl...> - 2023-02-02 02:34:39
|
> Here's another possibility for passing encoding options: Make the value of
> "-encoding" a list:
>
> chan configure $chan -encoding {utf-8 strict ...}
>
> To change options without changing the encoding:
>
> chan configure $chan -encoding {{} strict ...}
Why not [chan configure $chan -encoding {strict ...}] and treat the actual encoding as just another option? There shouldn't be any possibility of a collision.
|