**I don't know why this reply by email from me did not appear here on the list 
so here it is again...**

> Or just people stopped using broken tools. If the filename has Unicode
> characters, so what, how does it make it broken? Quite the contrary,
> it's an additional test to expose and let the broken tools be fixed.

I can see merit in this argument. Reminds me a bit of Linus's "tabs versus 
spaces" gate... :-)

https://arstechnica.com/gadgets/2024/04/linus-torvalds-reiterates-his-tabs-versus-spaces-stance-with-a-kernel-trap/

I'm also curious as to what specific platforms/tools people have seen having 
problems with filenames such as "1986ве1т.cfg" and "к1879xб1я.cfg"?
I just downloaded the latest xPack OpenOCD 
(https://xpack-dev-tools.github.io/openocd-xpack/docs/releases/) and extracted 
it using 7Zip and Windows Explorer ("File Manager") and neither had problems 
extracting all contents including 1986ве1т.cfg or к1879xб1я.cfg and I can use 
these files from the command line, editors etc. 

Personally, as things stand, I don't really see a compelling case for removing 
or renaming (to ASCII (or ANSI?) only) such files - or unilaterally removing 
content from them. Where somebody has a different opinion then maybe the best 
way to test it is via the patch/review process?


---

**[tickets:#435] Broken file**

**Status:** new
**Milestone:** 0.10.0
**Created:** Mon Sep 23, 2024 06:14 PM UTC by Paul
**Last Updated:** Tue Sep 24, 2024 01:52 PM UTC
**Owner:** nobody


Hi maintainers and contributors,
Please remove 
https://github.com/openocd-org/openocd/blob/ad216136180e0cd482f414eb072c9dd25dd1c559/tcl/target/1986%D0%B2%D0%B51%D1%82.cfg
 or 
https://sourceforge.net/p/openocd/code/ci/master/tree/tcl/target/1986%D0%B2%D0%B51%D1%82.cfg
 from the repository. Many tools can't cope with these special chars in it. 
Which results in extraction errors if someone tries to extract a zip with this 
file and OpenOCD in it.
Also some file system tools don't like them and fail to display the file name 
correctly.

(This is not the reason for the ticket but it would be reason enough: it's 
Russian and contains a link to a Russian {.ru} web site. If you don't support 
the war against the Ukrain I it would be nice to remove any links {and in the 
same act support for special products from them} to them from your software)

And here is some example on a Windows system how an error of a library which 
failed to extract the zip look like: `scripts\target\1986??1?.cfg` as you can 
see the special chars broke the path.


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to