Encr_EncodeShortSafeAscii |
Encodes a text to Ascii characters in the range 45…127. These characters can be exported as tab separated text and also sent safely over internet.
Syntax
Encr_EncodeShortSafeAscii ( switches ; text )
Parameters
switches | reserved for future use, leave empty or set to "-Unused" |
text | text to encode |
Returned Result
Data type returned
Text
Result
The result will be formatted like this:
%Bencodedsafe text%E
The result of this function can be safely exported to for example TAB separated text.
Originated in
Troi Encryptor Plug-in 2.0
Compatibility
FileMaker Pro 16 to FileMaker Pro 2023
Considerations
See also:
Troi-EncodeSafeAscii and Troi-DecodeSafeAscii.
Example
Set Field [ result ; Encr_EncodeShortSafeAscii ( "-Unused" ;
"• Don’t forget to have fun, Günther and Børg! " ) ]
gives this result: “%B.V-PDon/Tt-Pforget-Pto-Phave-Pfun-\-PG.Pnther-Pand-PB/>rg-Q-P%E”
Example 2
In a database you have defined a text field named “patientName” and “patientData” which contains user data. Then you can define a calculation field:
safeNameCalc calculation = Encr_EncodeShortSafeAscii ( "-Unused" ; patientName )
safeDataCalc calculation = Encr_EncodeShortSafeAscii ( "-Unused" ; patientData )
these fields will contain the encoded text. If you export these safe fields you can get it like this:
Bj/>rn<TAB>Broken heel
TIP Use this function for sending encrypted data.
Used in example file
EmailSaf.fmp12
Related function
Encr_EncodeSafeAscii |
Related topics
Troi Encryptor Plug-in online help (overview)