Brian Dunning's FileMaker Custom Functions

UTF8_to_TXT ( Text )

Converts UTF-8 text to Mac Roman or Windows 1252

  Average rating: 4.3 (30 votes) Log in to vote

Ibrahim Bittar Torres   Ibrahim Bittar Torres - Show more from this author
Eikonsys, S.A. de C.V.
http://www.eikonsys.com

Share on Facebook Share on Twitter

  Sample input:
UTF8_to_TXT ( "México" )
  Sample output:
México

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

This is the reverse function from TXT_to_UTF8

 

Comments

Lee Smith   Lee Smith
Dec 29, 2011
You need to amend your CF name to include the Parameters, i.e. UTF8_to_TXT (Text; Platform)
 
Ibrahim Bittar   Ibrahim Bittar, Leon, Mexico
Dec 29, 2011
Done, thanks for the heads up.

Ibrahim
 
Ibrahim Bittar   Ibrahim Bittar, León, México
Aug 11, 2014
This function has been updated so the platform is no longer needed as a parameter. I also fixed some bugs on Windows conversion.
 

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

Under construction. Email me your wish list for improvements.