Copy all Mac ASCII characters to the clipboard

I often need a list of all available characters (useful for building scripts that convert text to HTML entities or various other purposes). This script generates a string of all characters and places it on the clipboad.

OS version: Any

set the_string to ""
repeat with i from 32 to 255
	set the_string to the_string & (ASCII character i)
end repeat
set the clipboard to the_string
return the_string