If you search the OpenOCD mailing list archives you'll see that this sort of 
issue has cropped up a few times in the past - i.e. script filenames with 
non-ASCII (usually or always Cyrillic) characters in the name which caused 
problems for some people/tools. I remember a few such filenames in the OpenOCD 
source base years ago but then the files in question were either renamed or 
were removed along the way. I don't know if there's any general policy on the 
naming of source and configuration files or if it's simply a question of 
pragmatism/common sense? Similarly, I'm not sure if there's any stated policy 
on stuff like removing from files content such as links/URLs of a specific 
geographical/national nature, but I suspect that anything suggestive of 
censorship might be potentially controversial?



---

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

**Status:** new
**Milestone:** 0.10.0
**Created:** Mon Sep 23, 2024 06:14 PM UTC by Paul
**Last Updated:** Mon Sep 23, 2024 06:14 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