Brian Dunning's FileMaker Custom Functions

@Char ( codePoint )

A wrapper for the original function Char() to handle 3-byte Unicode code points.

  Average rating: 5.0 (1 vote) Log in to vote

Alex Zueiv   Alex Zueiv - Show more from this author
Tashkent
https://github.com/zueiv

Share on Facebook Share on Twitter

  Sample input:
List ( Char ( 128512 ) ; @Char ( 128512 ) )
  Sample output:
潠
😀

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Converts UTF-32 into UTF-16 to then let the original function handle the code point properly.

Should work well in all FMP versions.

 

Comments

Philip Wang   Philip Wang, 106th Street Wheel and Tire
Apr 12, 2023
Thank you ! This function works great with text messages that have smileys.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. 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 20 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: