Brian Dunning's FileMaker Custom Functions

@TextEncode ( textToEncode ; extendedASCIIChars ; lineEndings )

A wrapper for the function TextEncode() to convert text to any old-style Extended ASCII encoding.

  Be the first to rate this function Log in to vote

Alex Zueiv   Alex Zueiv - Show more from this author
Tashkent

Share on Facebook Share on Twitter

  Sample input:
Let ( [
TEXT = "Çüé" ;
FILE = @TextEncode ( TEXT ; "ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖÜ¢Ł¥śƒŹŻóÓńŃźż" ; 1 )
] ;
List (
HexEncode ( TEXT ) ;
HexEncode ( TextEncode ( TEXT ; "iso-8859-1" ; 1 ) ) ;
HexEncode ( FILE )
)
)
  Sample output:
C387 C3BC C3A9
C7 FC E9
80 81 82

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

A wrapper for the function TextEncode() to convert text to any old-style Extended ASCII encoding.

 

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