Brian Dunning's FileMaker Custom Functions

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   Andreas Thyholdt - Show more from this author
dbConsult AS

Share on Facebook Share on Twitter

  Sample input:
Unicode_escape ( "Tromsø" )
  Sample output:

  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



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: