Difference between revisions of "LlUnescapeURL"

From Second Life Wiki
Jump to navigation Jump to search
(l10n)
m (grml)
Line 1: Line 1:
{{LSL_Function/de
{{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=Gibt eine {{HoverText|Zeichenkette|string}}, die der dekodierten Version von '''url''' entspricht. Dabei wird z.B. %20 durch Leerzeichen ersetzt, etc.
|return_text=that is an unescaped/unencoded version of '''url''', replacing %20 with spaces etc.
|spec
|spec
|caveats=*Die hexadezimal kodierte Representation von UTF-8 byte Kodierungen ist die einzig unterstützte Variante um Zugang zu nicht-ASCII7 Zeichen (Unicode Zeichen) zu bekommen.  
|caveats=*The hexadecimal encoded representation of UTF-8 byte encoding is the only supported means of access to non ASCII7 characters (Unicode characters).  
**Dekodierung von Unicode als %u#### wird nicht unterstützt.
**Decoding of Unicode as %u#### is not supported.
|constants
|constants
|examples=
|examples=
<lsl>default {
<lsl>default {
     state_entry() {
     state_entry() {
           string str = "Hier eine beliebige Zeichenkette einfügen!";
           string str = "Any string, with anything in it, goes here!";
           llOwnerSay(llUnescapeURL(llEscapeURL(str)));
           llOwnerSay(llUnescapeURL(llEscapeURL(str)));
               //Sagt dem Besitzter die Zeichenkette "str", da llUnescapeURL() und llEscapeURL() sich Gegenseit aufheben.
               //Tells the owner the string "str", because the Unescape and Escape are opposites of eachother.
     }
     }
}</lsl>
}</lsl>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Gegenteil von llUnescapeURL}}
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}}
|also_events
|also_events
|also_tests
|also_tests
|also_articles=
|also_articles=
{{LSL DefineRow/de||[[UTF-8]]|}}
{{LSL DefineRow||[[UTF-8]]|}}
{{LSL DefineRow||{{LSLGC/de|Base64}}|}}
{{LSL DefineRow||{{LSLGC|Base64}}|}}
{{LSL_DefineRow||[[Combined_Library#Unicode_Integer_to_UTF8|Combined Library: UnicodeIntegerToUTF8]]|Einfache Methode um Unicode Zeichencodes in Zeichenform zu wandeln.}} {{nnlink/de}}
{{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 15:13, 9 August 2009

Summary

Function: string llUnescapeURL( string url );
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.

Deep Notes

Signature

function string llUnescapeURL( string url );