I’m using a RichTextBox control in a .NET Windows Form application. I allow users to press the TAB key within the textbox itself. However when I save the .Text value in the textbox it will show up like this:
"This[]is[a]tab[]test[]"
Where each time the user pressed TAB, it shows up as unrecognized characters in the .Text property.
What’s going on here?
Example Screenshot:

I ended up searching for all instances of a ‘TAB’ character being pressed and replacing it with a ‘\t’ and that worked:
Not the best solution, still do not understand why the RichTextBox isn’t picking up on the TAB key automatically but it works for now.