Difference between revisions of "LlEscapeURL"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|func_footnote
|func_footnote
|func_desc
|func_desc
|return_text=is the escaped/encoded version of '''url''', replacing spaces with %20 etc.
|return_text=that is the escaped/encoded version of '''url''', replacing spaces with %20 etc.
|spec
|spec
|caveats=*The return is limited to 255 characters, this means this function can only safely escape 14 character string.
|caveats=*The return is limited to 255 characters, this means this function can only safely escape 14 character string.
Line 11: Line 11:
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llUnescapeURL}}
|also_functions={{LSL DefineRow|[[llUnescapeURL]]}}
|also_events
|also_events
|also_tests
|also_tests
|also_articles=*{{LSLG|UTF-8}}
|also_articles={{LSL DefineRow|[[UTF-8]]}}
*{{LSLGC|Base64}}
{{LSL DefineRow|[[Base64]]}}
|notes
|notes
|permission
|permission

Revision as of 21:38, 22 May 2007

Summary

Function: string llEscapeURL( string url );

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
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

• llUnescapeURL

Articles

• UTF-8
• Base64

Deep Notes

Search JIRA for related Issues

Signature

function string llEscapeURL( string url );