I am little confused about how much spaces are included in \t in Java and its coming different if i print in on console.
I have a input string = "abc\n\tdef";
and printing on console -System.out.println (inputString) gives me something like
def; (console printing shows bigger space for tabs)
I feed this inputString to a method ,that does some processing but wont harm tabs and returns the formatted string again.
That returned string has value
def (less tabs space)
Lesser tabs space.I debugged the method if at a point tab is changing but no .
Method just reads everything line by line and appends \r\n inplace of \n.
I really dont understand what could be the reason for different tabs size on same platform and same language.