Thanks for you input.

However, this filter replaces many characters with the equivalent % encoded 
UTF-8, not only the characters that are invalid as filenames, which I would 
need replaced by "_".

Cheers,
Marcio.

On Tuesday, May 8, 2018 at 2:16:50 PM UTC-3, Jeremy Ruston wrote:
>
> I looked at them. But they don't create the same kind of file name that 
> the browser does when saving exports. In particular, they leave in ? and :, 
> which have to be converted to _ (or something) for saving on Windows.
>
>
> Try using the “encodeuricomponent” filter; it performs the same processing 
> that the core uses for generating filenames.
>
> Best wishes
>
> Jeremy
>
>
> -- Mark
>
> On Sunday, May 6, 2018 at 3:37:41 AM UTC-7, Mat wrote:
>>
>> On Saturday, May 5, 2018 at 6:24:49 PM UTC+2, Marcio Augusto wrote:
>>>
>>> If it would be possible to use something from the standard TW (as I am 
>>> assuming the "export tiddler" button does), I would like to avoid adding 
>>> something that would duplicate a function that already exists.
>>>
>>
>> There are the uriencode / uridecode filters. Maybe worth a look.
>>
>> <:-)
>>
>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> 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/0c1e6466-9e11-44ff-b045-4e1f39749797%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/0c1e6466-9e11-44ff-b045-4e1f39749797%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/caf12ff0-24fc-47d3-aaf9-d75c19d8a068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to