User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

chrq [2006/10/06 19:08] (current)
Line 1: Line 1:
 +# $EPIC: chrq.txt,v 1.2 2006/10/06 19:08:28 jnelson Exp $
 +$[[chrq]](<​list of codepoints>​)
 +The [[chrq]] function is much the same as the [[chr]] function, but the
 +result is filtered through [[ctcp enquoting]]. ​ Even if the input string
 +contains binary data (including nuls) the output string is safe for assigning
 +to a variable and sending over irc.
 +All the normal caveats of [[chr]] apply to [[chrq]].
 +$chrq(3 0 10 65)                returns "​^C\0\nA"​
chrq.txt ยท Last modified: 2006/10/06 19:08 (external edit)