Does local text input need to be filtered?

Does local text need to be filtered?

For instance:
if there is a computer in the game, and it has a TextBox, does the text in that TextBox need to be filtered, even if only the local player sees the text?

I always thought the answer is no, but I want to be sure

Also let me know if this is the right category

Possibly no, but still filter it incase:

the answer is No, since it won’t affect other players.