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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Text.FilterUTF16
Filters text to UTF-16.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 9.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "Text.FilterUTF16"; Text { ; Replacement } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Text | The text to process. | "Hello 😀 World" | |
| Replacement | Replacement text for invalid characters. Default is empty. |
"[emoji]" | Optional |
Result
Returns text or error.
Description
Filters text to UTF-16.Removes all UTF-32 characters which can't fit into UTF-16.
Normally UTF-32 range characters exceeding the UTF-16 range are stored as two characters in UTF-16.
This function removes those for software, which may not handle them correctly.
Examples
Remove emojis:
MBS( "Text.FilterUTF16"; "Hello 😀 World"; "[emoji]" )
Example result: "Hello [emoji] World"
Blog Entries
- Save Records as PDF oddities with FileMaker Server on Linux
- Neues vom MBS Plugin 9.3
- Whats new in MBS FileMaker Plugin version 9.3
- MBS FileMaker Plugin, version 9.3pr3
Release notes
- Version 9.3
- Added Text.FilterUTF16 function.
Created 20th June 2019, last changed 20th June 2019
Text.FilterASCII - Text.FindBetween
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins