It appears that the export/saving occurs in : $:/core/modules/savers/download.js
However, it also appears that the conversion to a safe file system name is done by the browser. So it's not available unless there's an equivalent javascript file name conversion function out there somewhere. Good luck! -- Mark On Saturday, May 5, 2018 at 11:57:22 AM UTC-7, Marcio Augusto wrote: > > Only if portability is a requirement (which is indeed my case). However, > if someone uses TW only on Linux, there would be no need to worry about > invalid characters in Windows filenames. > Digressions apart, I would like to find the function that does the > character conversion on the filename when the "export tiddler" is used, do > you have any sugestions? > > On Saturday, May 5, 2018 at 3:44:57 PM UTC-3, Mark S. wrote: >> >> It has to make names that will be valid everywhere. Characters ? and : >> aren't valid in Windows filenames. >> >> On Saturday, May 5, 2018 at 9:34:08 AM UTC-7, Marcio Augusto wrote: >>> >>> Anyway, the code you pointed out does exactly what I need. I just could >>> not find it in the standard TW. >>> Maybe the TW just passes the tiddler title "as is" to the browser, which >>> in turn does the invalid character replacement? Although on Linux, even >>> valid characters (like : and ?) gets replaced by "_". >>> >>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f927573d-9aa2-4bc4-b4a3-693d70ba5491%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

