On Sep 7, 2006, at 5:46 PM, Philippe Bossut wrote:
Hi Morgen,
Rather than a dialog and error, shouldn't we rather use the ISO-
Latin encoding (used for URLs) and convert those characters? For
space, this is 32 decimal or 20 in Hex so it becomes '%20' in a URL.
e.g.: http://www.osaf.foo bar.htm -> http://www.osaf.foo%20bar.htm
I'd prefer that to a dialog to be honest. It'll catch some simple
encoding/decoding cases though, indeed, it might be that the URL is
wrong anyway...
Cheers,
- Philippe
In this case I'm not adding a dialog -- the user is already in the
Subscribe dialog, and the warning about embedded spaces is actually
displayed at the bottom of that dialog. Also, I think most of the
time these embedded spaces are truly copy/paste errors caused by
wrapped lines, and so converting them to %20 isn't going to be the
right fix.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev