Unicode_escape ( string )
Converts Unicode characters to their escaped Unicode character codes
Be the first to rate this function Log in to vote
Andreas Thyholdt - Show more from this author
dbConsult AS |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Converts affected Unicode characters in string to their escaped Unicode character codes
Use cases include Javascript and JSON escaping as the built-in JSONSetElement p.t. does not escape these and many API's need extended characters to be escaped.
Handles characters in Unicode Latin-1 supplement, Latin Extended- A and Latin Extended-B, IPA Extensions, Spacing Modifier Letters, Combining Diacritical Marks, Greek and Coptic, Cyrillic and Cyrillic Supplement. Code range 00A0 to 052F
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.