| Store | Cart

Re: [TCLCORE] CFV Warning: TIP 389: Full support for Unicode 10.0 and later

From: Jan Nijtmans <jan....@gmail.com>
Tue, 17 Apr 2018 11:12:20 +0200
2018-04-17 2:14 GMT+02:00 Steve Landers:
> I am wondering if anyone has presented arguments against Rolf’s alternative> proposal of making Tcl_UniChar 32 bit.  Especially if Androwish does build> with 32-bit Tcl_UniChar by default.>> If not, then I suggest a vote on TIP 389 is premature.
Well, just have a look at the changes made in Androwish to make this
work. My first objection to this (for 8.7) is the binary incompatibilty.
At this moment, Tcl 8.6 supports TCL_UTF_MAX=3, and it
kind of tolerates TCL_UTF_MAX=4 and TCL_UTF_MAX=6.
After TIP #389, TCL_UTF_MAX=4 will be the official supported
configuration while TCL_UTF_MAX=6 is tolerated. I am in
favor of backporting as much as reasonable from androwish
to make TCL_UTF_MAX=6 an official supported configuration too.
I already created an "androwish" branch for that in core.tcl/tk/tcl.
Unfortunately, this branch contains a lot more changes than
needed for TCL_UTF_MAX=6. Still a lot of work to do.

> There is even an up to now legal (or at least working) use case of> Tcl_UtfToUniChar and friends, that will break after this core change:> converting an UTF-8 string to a Tcl_UniChar array for random index> access (or simple looping over the characters).
This is simply not true. Please show me a test-case demonstrating
the problem.

> The tip has rumors about problems with that ("a lot of additional fixes> are needed to make it work right"). Can be someone please a bit more> specfic about the unsolved problems with that approach?
So, have a look at the "androwish" branch.

Nothing in TIP #389 stands in the way of further progress in
the direction of TCL_UTF_MAX=6.

Regards,
      Jan Nijtmans

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Recent Messages in this Thread
Jan Nijtmans Jan 10, 2018 09:37 am
Donald G Porter Jan 10, 2018 03:06 pm
Donald G Porter Jan 10, 2018 03:17 pm
Peter Da Silva Jan 10, 2018 03:45 pm
Donald G Porter Jan 10, 2018 04:00 pm
Christian Gollwitzer Jan 11, 2018 09:11 pm
Dipl. Ing. Sergey G. Brester via Tcl-Core Jan 11, 2018 10:37 pm
Kevin Kenny Jan 11, 2018 11:34 pm
Dipl. Ing. Sergey G. Brester via Tcl-Core Jan 12, 2018 08:39 am
Jan Nijtmans Jan 12, 2018 09:46 am
Jan Nijtmans Jan 12, 2018 10:11 am
Christian Gollwitzer Jan 13, 2018 09:36 pm
Donal K. Fellows Jan 16, 2018 01:02 pm
Donal K. Fellows Jan 12, 2018 01:29 pm
Donald G Porter Jan 16, 2018 03:33 pm
Donald G Porter Jan 16, 2018 05:27 pm
Rolf Ade Jan 12, 2018 02:26 pm
Steve Landers Apr 17, 2018 12:14 am
Jan Nijtmans Apr 17, 2018 09:12 am
Donald Porter Apr 17, 2018 11:05 am
Kevin Kenny Apr 18, 2018 04:13 pm
Jan Nijtmans Jan 12, 2018 03:12 pm
Rolf Ade Jan 13, 2018 12:42 am
Donald G Porter Jan 18, 2018 02:09 pm
Jan Nijtmans Apr 04, 2018 10:53 am
Messages in this thread