Brian Dunning's FileMaker Custom Functions

GetAsURLDecoded ( EncodedText )

Decode URL encoded text to UTF-8 strings.

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

Koji Takeuchi   Koji Takeuchi - Show more from this author
TonicNote, Inc.
https://tonicnote.com

Share on Facebook Share on Twitter

  Sample input:
GetAsURLDecoded ( "%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF" )
  Sample output:
こんにちは

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

GetAsURLDecoded ( EncodedText )
2021.07.20, Koji Takeuchi

description:
Decode URL encoded strings.
Based on @GetAsURLDecoded ( url ; counter ) by Alex Zueiv ( https://www.briandunning.com/cf/2095 ) and re-structured to omitting "counter" parameter.

Params:
EncodedText URL encoded text to decode.

Example:
GetAsURLDecoded ( "%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF" )
-> "こんにちは"
GetAsURLDecoded ( "Hello" )
-> "Hello"

 

Comments

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: