Talk:LlSetObjectDesc: Difference between revisions
Drake Bacon (talk | contribs) Another caveat with attached prims. |
|||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
Another caveat: If you set the desc of an attached root prim, the desc reverts when you detach the object or prim. | Another caveat: If you set the desc of an attached root prim, the desc reverts when you detach the object or prim. | ||
== Under macOS, the text seems to be restricted to ASCII only == | |||
Unlike other functions ([[llSay]], [[llInstantMessage]], etc.), which work with UTF-8, it seems that, at least on the Mac, this function cannot set the description field to non-ASCII characters: any non-ASCII character will be shown as <code>"??"</code> instead. | |||
This was tested under the SL Viewer 6.5.3.568554 and Firestorm 6.5.3.65658, running on macOS 11.6.5 (20G526). Both the SL Viewer and Firestorm currently have broken keyboard support for accented characters — although they display UTF-8-encoded characters perfectly (and copying & pasting to chat/IM works well) — which ''might'' influence the result, that's why I'm leaving a comment here on the Discussion tab instead of changing the page :) | |||
— [[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 11:40, 7 April 2022 (PDT) | |||
:Can confirm this is the case when testing all code points with [[llSetObjectDesc]] directly and reading them back with [[llGetObjectDesc]]. The viewer and client OS should not affect this result. Editing the page. - [[User:Nelson Jenkins|Nelson Jenkins]] ([[User talk:Nelson Jenkins|talk]]) 01:11, 23 February 2026 (PST) | |||
== Caveats == | |||
FYI most of the existing caveats are being pulled through the injected template LSL_Function/prim-desc|set at the top. | |||
:Link since Nexii didn't link it and it's a bit difficult to find via search... [[Template:LSL_Function/prim-desc]] - [[User:Nelson Jenkins|Nelson Jenkins]] ([[User talk:Nelson Jenkins|talk]]) 01:28, 23 February 2026 (PST) | |||
Latest revision as of 02:28, 23 February 2026
Another caveat: If you set the desc of an attached root prim, the desc reverts when you detach the object or prim.
Under macOS, the text seems to be restricted to ASCII only
Unlike other functions (llSay, llInstantMessage, etc.), which work with UTF-8, it seems that, at least on the Mac, this function cannot set the description field to non-ASCII characters: any non-ASCII character will be shown as "??" instead.
This was tested under the SL Viewer 6.5.3.568554 and Firestorm 6.5.3.65658, running on macOS 11.6.5 (20G526). Both the SL Viewer and Firestorm currently have broken keyboard support for accented characters — although they display UTF-8-encoded characters perfectly (and copying & pasting to chat/IM works well) — which might influence the result, that's why I'm leaving a comment here on the Discussion tab instead of changing the page :)
— Gwyneth Llewelyn (talk) 11:40, 7 April 2022 (PDT)
- Can confirm this is the case when testing all code points with llSetObjectDesc directly and reading them back with llGetObjectDesc. The viewer and client OS should not affect this result. Editing the page. - Nelson Jenkins (talk) 01:11, 23 February 2026 (PST)
Caveats
FYI most of the existing caveats are being pulled through the injected template LSL_Function/prim-desc|set at the top.
- Link since Nexii didn't link it and it's a bit difficult to find via search... Template:LSL_Function/prim-desc - Nelson Jenkins (talk) 01:28, 23 February 2026 (PST)