urlEncode(data)

Tinderbox Icon


Operator Type:   Function
Operator Scope of Action:   Item
Operator Purpose:   Formatting

urlEncode(data)

urlEncode() converts a data to 'urlEncoded' form for for the web, in accordance with RFC1738. URLs should not contain spaces, control characters, or non-ASCII characters. Characters that are illegal in URLs are encoded as '%' followed by the corresponding hexadecimal character code, e.g. a space = %20.

Fixed in v5.10.0, codes 0-15 (#x00-#x15) previously failed to emit the initial zero (i.e. exporting '% a' instead of the correct '%0a').


Possible relevant notes (via "Similar Notes" feature):

Up: Formatting operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Types : Formatting operators : urlEncode(data)

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox