"\t" is displayed as □
SuzannaLinn Resident
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.
Log In