Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Text.FilterASCII

Filters text to ASCII.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 10.4 Yes Yes Yes Yes Yes
MBS( "Text.FilterASCII"; Text { ; Replacement } )   More

Parameters

Parameter Description Example Flags
Text The text to process. "Hello 😀 Wörld"
Replacement Replacement text for invalid characters.
Default is empty.
"?" Optional

Result

Returns OK or error.

Description

Filters text to ASCII.
Removes all non ASCII characters which can't fit into 7bit.
This function removes those for software, which may not handle them correctly.
We convert 23 variants of curly quotes into ASCII quotes.

See also Text.RemoveControlCharacters and Text.RemoveAccents functions.

See also

Blog Entries

Release notes

Created 8th September 2020, last changed 8th September 2020


Text.FileExtensionToMimeType   -   Text.FilterUTF16

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos