Difference between revisions of "LlUnescapeURL"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(l10n) |
m (grml) |
||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|func_id=308|func_sleep=0.0|func_energy=10.0 | |func_id=308|func_sleep=0.0|func_energy=10.0 | ||
|func=llUnescapeURL|return_type=string|p1_type=string|p1_name=url | |func=llUnescapeURL|return_type=string|p1_type=string|p1_name=url | ||
|func_footnote= | |func_footnote= | ||
|func_desc | |func_desc | ||
|return_text= | |return_text=that is an unescaped/unencoded version of '''url''', replacing %20 with spaces etc. | ||
|spec | |spec | ||
|caveats=* | |caveats=*The hexadecimal encoded representation of UTF-8 byte encoding is the only supported means of access to non ASCII7 characters (Unicode characters). | ||
** | **Decoding of Unicode as %u#### is not supported. | ||
|constants | |constants | ||
|examples= | |examples= | ||
<lsl>default { | <lsl>default { | ||
state_entry() { | state_entry() { | ||
string str = " | string str = "Any string, with anything in it, goes here!"; | ||
llOwnerSay(llUnescapeURL(llEscapeURL(str))); | llOwnerSay(llUnescapeURL(llEscapeURL(str))); | ||
// | //Tells the owner the string "str", because the Unescape and Escape are opposites of eachother. | ||
} | } | ||
}</lsl> | }</lsl> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llEscapeURL]]| | |also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}} | ||
|also_events | |also_events | ||
|also_tests | |also_tests | ||
|also_articles= | |also_articles= | ||
{{LSL DefineRow | {{LSL DefineRow||[[UTF-8]]|}} | ||
{{LSL DefineRow||{{LSLGC | {{LSL DefineRow||{{LSLGC|Base64}}|}} | ||
{{LSL_DefineRow||[[Combined_Library#Unicode_Integer_to_UTF8|Combined Library: UnicodeIntegerToUTF8]]| | {{LSL_DefineRow||[[Combined_Library#Unicode_Integer_to_UTF8|Combined Library: UnicodeIntegerToUTF8]]|Easily convert unicode character codes to string form.}} | ||
|notes | |notes | ||
|permission | |permission |
Revision as of 16:13, 9 August 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llUnescapeURL( string url );308 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is an unescaped/unencoded version of url, replacing %20 with spaces etc.
• string | url |
Caveats
- The hexadecimal encoded representation of UTF-8 byte encoding is the only supported means of access to non ASCII7 characters (Unicode characters).
- Decoding of Unicode as %u#### is not supported.
Examples
<lsl>default {
state_entry() { string str = "Any string, with anything in it, goes here!"; llOwnerSay(llUnescapeURL(llEscapeURL(str))); //Tells the owner the string "str", because the Unescape and Escape are opposites of eachother. }}</lsl>
See Also
Functions
• | llEscapeURL | – | Opposite of llUnescapeURL |
Articles
• | UTF-8 | |||
• | Base64 | |||
• | Combined Library: UnicodeIntegerToUTF8 | – | Easily convert unicode character codes to string form. |