the
ygnDecode
of
text
the
ygnDecode
of
(
text ,
collapseBackslashes )
ygnDecode
(
text ,
collapseBackslashes )
Text yields a string
. CollapseBackslashes yields a boolean
.
The ygnDecode
function decodes sequences of the forms =Xhex=
and =L=
in the specified string and returns the decoded string.
A sequence of the form =Xhex=
, where hex is a hexadecimal integer using capital letters representing a Unicode code point, is decoded as the character at that code point.
A sequence of the form =L=
, where L is a single capital letter, is decoded as one of the following symbols:
=A= |
apostrophe |
=B= |
backslash |
=C= |
colon |
=D= |
dollar sign |
=E= |
equals sign |
=F= |
slash (mnemonic: "fraction") |
=G= |
greater-than |
=H= |
question mark (mnemonic: "help") |
=I= |
opening bracket |
=J= |
closing bracket |
=K= |
semicolon |
=L= |
less-than |
=M= |
ampersand |
=N= |
plus sign |
=O= |
pound sign (mnemonic: "octothorpe") |
=P= |
percent |
=Q= |
quotation mark |
=R= |
caret (mnemonic: "raise") |
=S= |
asterisk (mnemonic: "star") |
=T= |
tilde |
=U= |
underscore |
=V= |
vertical bar |
=W= |
grave accent (mnemonic: "which," as in `which gcc` hello.c ) |
=X= |
exclamation point |
=Y= |
opening brace |
=Z= |
closing brace |
If collapseBackslashes is true
, any =B=
sequences immediately preceding a =B=
, =A=
, or =Q=
sequence are ignored.