views:

97

answers:

1

Hi, i got some data like this "line 1 \n line 2" from my distant server by using json with utf8 encoding, and when i try to put the data in my EditText the newline \n doesn't work in spite of unscaping the data by using URLDecoder.decode() because i use databases. Any suggestions

all the best .

+1  A: 

Solved , by using

myString.replace("\\n", "\n");
sami boussacsou