|
From: <apn...@ya...> - 2023-01-28 08:30:20
|
Here too, from the Jan 17 build artifact,
% encoding convertto ascii \uDC00
?
% encoding convertto utf-8 \uDC00
unexpected character at index 0: 'U+00DC00'
I thought there was a way to get the fossil commit id from script but can’t seem to find it.
/Ashok
From: Jan Nijtmans <jan...@gm...>
Sent: Saturday, January 28, 2023 3:38 AM
To: tcl...@li...
Subject: Re: [TCLCORE] Unicode in Tcl 9 - a commentary and critique
Op vr 27 jan. 2023 om 22:21 schreef Jan Nijtmans:
So, I am wondering which version of Tcl 9.0 you were testing.
Another example from the document:
For the second case, the default handling depends on the encoding being used.
% encoding convertto ascii \uDC00
?
% encoding convertto utf-8 \uDC00
unexpected character at index 0: 'U+00DC00'
Notice how the treatment of surrogates differs between the two encodings.
If I try this:
$ tclsh9.0
% encoding convertto ascii \uDC00
unexpected character at index 0: 'U+00DC00'
% encoding convertto utf-8 \uDC00
unexpected character at index 0: 'U+00DC00'
Again, which version of Tcl 9.0 are you testing?
Hope this helps,
Jan Nijtmans
|