Skip to content

Instantly share code, notes, and snippets.

@boughtonp
Created April 30, 2014 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boughtonp/519876a5f77c6f4ddcf0 to your computer and use it in GitHub Desktop.
Save boughtonp/519876a5f77c6f4ddcf0 to your computer and use it in GitHub Desktop.
<cfsetting showdebugoutput=false />
<cfset ascii32to126 = "!""##$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~">
<cfcontent reset type="text/plain">
<cfoutput>
Unmodified:
#ascii32to126#
encodeForJavaScript:
#encodeForJavaScript(ascii32to126)#
JsStringFormat:
#JSStringFormat(ascii32to126)#
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment