From: Jan N. <jan...@gm...> - 2025-04-30 07:44:32
|
Op wo 30 apr 2025 om 07:26 schreef Ashok Nadkarni: > The following idiom I presume you are referring to, > > Tcl_UtfToExternalDString(NULL,...,&ds); > CreateFileA(Tcl_Value(&ds)...); > > can produce garbage file names as far back as 8.0. I don't know if it makes sense to add a compatibility note that says in effect "Use of ANSI API's continues to be broken in 9.0.2 ...". Yes, this is what Iḿ referring to. In 8.x it works fine, as long as the filename is restricted to CP1252. In 9.0.0/9.0.1 it works fine as long as the filename is restricted to UTF-8 ;-). With TIP #716 it works fine as long as the filename is restricted to ASCII (which is even more broken than 8.x ...) > CFV will be after all the above is done and we discuss the whole topic in the next online meet. Still, because of the DB2 failure (and maybe more dll's, the TIP says "many" but I am not aware of any other) we have to do something about it, so the best approach is to accept TIP #716 and handle the damage later. Hope this helps, Jan Nijtmans |