Previous | Next | Contents | Index |
Translate an ASCII string to a printable-string encoding of the string.
translate ascii_to_printablestring string
Command Qualifiers Defaults None. None.
string
An ASCII string.
The
translate ascii_to_printablestring
command translates an ASCII string to a printable-string, using the multi-character substitutions specified in RFC 2156 for ASCII characters that have no printable-string equivalent.
This example illustrates the transformation of the ASCII string
to a printable-string version of the string. Note that ASCII string corresponds to a rather common form of Internet address. But such a string cannot be literally represented in an X.400 address (if for instance one wants to embed this address using the DD.RFC-822 X.400 attribute), since the quote character and at character are not printable-string characters---such characters have to be encoded, as with the RFC 2156 multi-character substitutions.
"First Last"@example.com
% pmdf test -x400 -x488 X400> translate ascii_to_printable """First Last""@example.com" Result: (q)First Last(q)(a)example.com
Previous | Next | Contents | Index |