On Mon, Nov 21, 2011 at 10:15 AM, Volker Braun <vbraun.n...@gmail.com> wrote:
> On Monday, November 21, 2011 3:23:00 PM UTC, William wrote:
>>
>> Good point.  We should go through at least the table at [1] and replace
>> all such
>> instances by "_".
>
> Why don't we percent-encode the worksheet title? Actually I'm surprised that
> we don't do that already. Its so easy:

Note that the "%" character is explicitly listed as a "reserved
character" not allowed by some filesystems at [1].  That would be a
very good reason not to percent encode the worksheet title when
generating the filename.

[1] http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words

> sage: import urllib
> sage: urllib.quote('ABC/DEF.sws', safe='')
> 'ABC%2FDEF.sws'




-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to