FME Transformers: 2024.2

Categories
Strings
Related Transformers
CharacterCodeReplacer

CharacterCodeExtractor

Extracts the character code of the first character in the input string attribute, and adds its integer value in the character set to the feature as another attribute.

This can be used to obtain the integer code of any character from a list of supported encodings, including non-printable ones.

Example

For example, a CJK unified ideograph 东 character as the first character of the input string attribute and an input string encoding type of Unicode 8-bit(utf-8), would result in a value of 19996 (U+4E1C) being placed in the character code attribute.

Configuration

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the CharacterCodeExtractor on the FME Community.