Difference between revisions of "LlEscapeURL"

From Second Life Wiki
Jump to navigation Jump to search
m (tag into String category)
Line 20: Line 20:
|negative_index
|negative_index
|cat1=Encoding
|cat1=Encoding
|cat2
|cat2=String
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 06:03, 8 September 2007

Summary

Function: string llEscapeURL( string url );
0.0 Forced Delay
10.0 Energy

Returns a string that is the escaped/encoded version of url, replacing spaces with %20 etc.

• string url

Caveats

  • The return is limited to 255 characters, this means this function can only safely escape 14 character string.
    • UTF-8 characters requiring up to 6 bytes to express; though there are no characters defined in the Unicode standard as of yet that use more then 4 bytes. This has the effect that if a string containing all 6-byte characters, this function could only encode 14 characters. See: String:Caveats

Examples

See Also

Functions

• llUnescapeURL

Articles

• UTF-8
• Base64

Deep Notes

Signature

function string llEscapeURL( string url );