Site Tools


asciiq

Differences

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

Link to this comparison view

asciiq [2007/02/15 03:53] (current)
Line 1: Line 1:
 +# $EPIC: asciiq.txt,​v 1.2 2007/02/15 03:53:35 jnelson Exp $
 +======Synopsis:​======
 +$[[asciiq]](<​[[ctcp encoded]] character list>)
 +
 +======Technical:​======
 +The [[asciiq]] function performs ctcp dequote on the arguments and then
 +converts the resulting sequence of characters into a word list
 +of codepoints. ​ Because EPIC only supports latin-1 at this time, all of 
 +the codepoints are 0 to 255 (strictly 1 byte per codepoint). ​ If in the 
 +future epic supports UTF8 or something like that, codepoints greater than 
 +255 might be returned.
 +
 +You can use the [[chrq]] function to convert a word list of codepoints into
 +a sequence of characters. ​ The same caveats about encoding applies.
 +
 +By definition, the [[asciiq]] and [[chrq]] functions are symmetrically
 +reverse operations of each other.
 +
 +A ctcp quoted string is nominally 8 bit clean. ​ You would usually have
 +one of these strings from [[dcc raw]] that is in quoted mode, from [[chrq]],
 +or from [[readb]].
 +
 +======History:​======
 +The [[asciiq]] function first appeared in EPIC4-1.1.8.
 +
  
asciiq.txt ยท Last modified: 2007/02/15 03:53 (external edit)