Encr_EncodeShortSafeAscii (function reference)

By February 1, 2019June 10th, 2020Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in > Functions reference > Encr_EncodeShortSafeAscii
Troi Encryptor Plug-in for FileMaker Pro

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.

SyntaxFunction badge

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 15 to 19

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.

Related functionFunction badge

Encr_EncodeSafeAscii

Related topics

Troi Encryptor Plug-in online help (overview)


Online Help Page for Troi Encryptor Plug-in for 15 to 19 –> Encr_EncodeShortSafeAscii (encrp4265) 2020-0610 16:21:54