Function EN Version 10.06

@TranslateUTF8ToUrlEncoding

Note

Syntax

@TranslateUTF8ToUrlEncoding(TEXT1);
@TranslateUTF8ToUrlEncoding(TEXTLIST1);
@TranslateUTF8ToUrlEncoding(TEXT1;FNOPTIONS2);
@TranslateUTF8ToUrlEncoding(TEXTLIST1;FNOPTIONS2);

Description

TEXT/TEXTLIST TEXT1/TEXTLIST1 is converted from the UTF8 character set to URL-encoding representation.
The optional parameter FN FNOPTIONS1 can be used to control the conversion:
FN FNOPTIONS1:
0 A + character is converted to %2B (default)
1 A + character is treated as a space (%20)
2 A + character is not replaced; it remains as + in the string

Example: @TranslateUTF8ToUrlEncoding(TEXT1);

UTF8:="\X47\X61\X75\XC3\X9F\X73\X74\X72\X2E";
URLENCTEXT:=@TranslateUTF8ToUrlEncoding(UTF8);

The TEXT UTF8 is converted to URL-encoding representation and assigned to URLENCTEXT.

Note : This text was machine-translated and may contain inaccuracies.