Brian Dunning's FileMaker Custom Functions

@GetAsHTMLDecoded ( text )

HTML Character Entity Decoder

  Average rating: 5.0 (3 votes) Log in to vote

Alex Zueiv   Alex Zueiv - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
@GetAsHTMLDecoded ( "Hello Мир!" )
  Sample output:
Hello Мир!

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

Recursive function for decoding HTML Character Entities.

This CF supports decimal and hexadecimal entity numbers of the whole Unicode table (x0…10FFFF). For compatibility with old systems, entity numbers in the range x80…9F are interpreted as in Windows-1252 (€‚ƒ\„…†‡ˆ‰ etc.)

The CF contains 1448 case-sensitive entity names with 583 synonyms from:

So, it is very large (>23K characters), which is yet a bit less than FMP allows (30K). In spite of the size it works quite fast – over 5К substitutions in less than a second.



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 15 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: