NormalizeText (open)

Normalize text for a given language

Syntax

LOADLIB "wh::util/langspecific.whlib";

STRING FUNCTION NormalizeText(STRING text, STRING langcode)

Parameters

STRING text

The text to normalize

STRING langcode

The two-letter code of the language to use for normalizing

Return value

STRING

The normalized text, or an empty string in case of an unrecognized language code