Skip to content

"\t" is displayed as □ #4926

@canny

Description

@canny

ll.OwnerSay("A\tB")

ll.OwnerSay("C" .. string.char(9) .. "D")

-- >

--  A□B 

--  C□D

same happens with ll.Say(0, "A\tB") and print("A", "B")

in LSL, any version, it seems that \t is replaced with 4 white spaces:


default {

    state_entry() {

        llOwnerSay("A\tB");

        llOwnerSay("C" + llChar(9) + "D");

        // -->

        //  A    B

        //  C□D

    }

}

As explained in https://feedback.secondlife.com/slua-alpha/p/t-is-displayed-as this issue should be fixed in the viewer rather than using the LSL solution.

https://secondlife.canny.io/admin/board/slua-alpha/p/t-is-displayed-as-1


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #4926 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions