Decodes a text in the SafeASCII format to the original text.
Encr_DecodeSafeAscii ( switches ; text )
|switches||reserved for future use, leave empty or set to "-Unused"|
|text||the text to decode|
Data type returned
the original text
“$$-301 (Decoding Error)”, when the decoding failed.
Troi Encryptor Plug-in 1.5
FileMaker Pro 15 to 19
See also: Encr_EncodeSafeAscii and Encr_EncodeShortSafeAscii.
Set Field [ result ; Encr_DecodeSafeAscii ( "-Unused" ; "this text is ignored!!! %Troi SafeAscii v1.0 .V-PDon/Tt-Pforget-Pto-Phave-Pfun-\-PG.Pnther-Pand-PB/>rg-Q-P %End SafeAscii v1.0 this text too..." ) ]
gives this result: “• Don’t forget to have fun, Günther and Børg! ”
In a database you have defined a text field named “receivedEmail” which contains the body of an email which contains a part that is encoded as ASCII Safe. Then you can define a calculation field:
DecodedCalc calculation = Encr_DecodeSafeAscii ( "-Unused" ; ReceivedEmail )
this field will contain the decoded text.