Encr_EncodeSafeAscii (function reference)

By March 20, 2026April 8th, 2026Online 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 18 to FileMaker Pro 2025

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 18 to 2025 –> Encr_EncodeSafeAscii (encrp4263) 2026-0408 10:08:21

Share
troi.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping us to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.