| Store | Cart

Re: [TCLCORE] CFV: TIP 389 - Full support for Unicode 10.0 and later (part 1)

From: Kevin Kenny <kevi...@gmail.com>
Tue, 17 Apr 2018 08:57:53 -0400
On 04/17/2018 06:57 AM, Jan Nijtmans wrote:
> 2018-04-16 23:55 GMT+02:00 Kevin Kenny:>> I'm also not sure about the missing API's. I'm looking at what,>> for instance, tdbc::odbc will have to do. It has code that calls>> Tcl_UniCharToUtf and Tcl_UtfToUniChar repeatedly to convert>> Tcl's string representation to a sequence of 16-bit code points.> Well, this is what needs to be done to make tdbcodbc TIP #389-> compatible:>      <https://core.tcl.tk/tdbcodbc/info/584efa4a8e0e24a7>>
Neither Oracle nor SQL Server offer any protection against unpaired 
surrogates in the data base, so surely the buffer at 
https://core.tcl.tk/tdbcodbc/artifact?udc=1&ln=786&name=6ce9986a10 must 
also be initialized with a zero background. With that done, the 
remaining issue is that unpaired high surrogates will be swallowed 
silently and unpaired low surrogates will be substituted with \uFFFD, 
leaving applications no way to deal with them. For example, it will 
become nearly impossible to write a TDBC application fo delete or repair 
the misencoded data in the database.

The same problem exists in dealing with the WIndows file system, as I 
mentioned in an earlier message.

------------------------------------------------------------------------------
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 Apr 06, 2018 02:22 pm
Donald G Porter Apr 16, 2018 09:31 pm
Kevin Kenny Apr 16, 2018 09:55 pm
Jan Nijtmans Apr 17, 2018 10:57 am
Kevin Kenny Apr 17, 2018 12:57 pm
Jan Nijtmans Apr 18, 2018 08:20 am
Donald Porter Apr 16, 2018 10:54 pm
Jan Nijtmans Apr 17, 2018 09:28 am
Donald Porter Apr 17, 2018 10:38 am
Jan Nijtmans Apr 17, 2018 10:44 am
Kevin Kenny Apr 17, 2018 12:38 pm
Jan Nijtmans May 09, 2018 02:48 pm
Kevin Kenny Apr 11, 2018 04:28 pm
Harald Oehlmann Apr 12, 2018 06:26 am
Jan Nijtmans Apr 12, 2018 08:44 am
Messages in this thread