Difference between revisions of "LlEscapeURL"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 2: | Line 2: | ||
|func_id=307|func_sleep=0.0|func_energy=10.0 | |func_id=307|func_sleep=0.0|func_energy=10.0 | ||
|func=llEscapeURL|return_type=string|p1_type=string|p1_name=url | |func=llEscapeURL|return_type=string|p1_type=string|p1_name=url | ||
|func_footnote | |func_footnote | ||
|func_desc | |func_desc | ||
|return_text=is the escaped/encoded version of '''url''', replacing spaces with %20 etc. | |return_text=is the escaped/encoded version of '''url''', replacing spaces with %20 etc. | ||
|spec | |spec | ||
|caveats | |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: {{LSLG|string#Caveats|String:Caveats}} | |||
|constants | |constants | ||
|examples | |examples | ||
Line 13: | Line 14: | ||
|also_events | |also_events | ||
|also_tests | |also_tests | ||
|also_articles=*{{ | |also_articles=*{{LSLG|UTF-8}} | ||
*{{LSLGC|Base64}} | *{{LSLGC|Base64}} | ||
|notes | |notes |
Revision as of 11:08, 9 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llEscapeURL( string url );307 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string 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