This is also partially done in the util_text_to_url proc:
http://dev.openacs.org:8000/cvs/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl?rev=1.28&content-type=text/x-cvsweb-markupMaybe we should take this string map call out and put it in it's own proc, e.g. util_to_safe_ascii? Better suggestions for the name?