Skip to main content

Encr_EncodeSafeAscii (function reference)

By April 20, 2023April 25th, 2023Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in for FileMaker Pro

Encr_EncodeSafeAscii

Encodes a text to lower ASCII characters in the range 45…127. The result can be sent safely over internet without any characters being changed. This function formats the output so that it is better readable for email.

SyntaxFunction badge

Encr_EncodeSafeAscii ( 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:

%Troi SafeAscii v1.0
safe text line 1
safe text line 2

%End SafeAscii v1.0

Originated in

Troi Encryptor Plug-in 2.0

Compatibility

FileMaker Pro 16 to FileMaker Pro 2023

Considerations

You can decode it with: “Encr_DecodeSafeAscii”.

NOTE: If you don’t want formatting (a return and a header and footer) use “Encr-EncodeShortSafeAscii” function.

Example

Set Field [ result ; Encr_EncodeSafeAscii ( "-Unused" ;  
			"• Don’t forget to have fun, Günther and Børg! " ) ]

gives this result:

%Troi SafeAscii v1.0
.V-PDon/Tt-Pforget-Pto-Phave-Pfun-\-PG.Pnther-Pand-PB/>rg-Q-P
%End SafeAscii v1.0

Used in example file

Safe.fmp12

Related functionsFunction badge

Encr_DecodeSafeAscii
Encr_EncodeShortSafeAscii

Related topics

Troi Encryptor Plug-in online help (overview)


Online Help Page for Troi Encryptor Plug-in for 16 to 2023 –> Encr_EncodeSafeAscii (encrp4263) 2023-0425 15:51:39