Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Text.EncodeEmailSubject

Encodes an email subject.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 4.3 Yes Yes Yes Yes Yes

MBS( "Text.EncodeEmailSubject"; Text )

(old name: String.EncodeEmailSubject)

Parameters

Parameter Description Example value
Text The text to encode. "Hello World äöü"

Result

Returns email subject text.

Description

Encodes an email subject.
Text is encoded with UTF-8 Quoted Printable encoding.
If text does not need to be encoded (pure ASCII), we return the input text.

Examples

Encode a text which does not need encoding:

MBS( "Text.EncodeEmailSubject"; "Hello World" )

Example result: Hello World

Encodes a text with umlauts:

MBS( "Text.EncodeEmailSubject"; "Hello äöü" )

Example result: "=?UTF-8?Q?Hello_=C3=A4=C3=B6=C3=BC?="

Example Databases


Text.EncodeBytesToBase64   -   Text.EncodeHexToBase64

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos