I read a text field from an sqlite database.
When I show it in a label, I get this stranges characters in the end of the line, when ir has a line break.
If I read the content and show in the logs or in an edittext, there is no strange character. Only When I show in the label.
The field is an text type. I try to read with this codes without success:
What could be the problem and how can I fix it?
Thanks in advance for any tip.
When I show it in a label, I get this stranges characters in the end of the line, when ir has a line break.
If I read the content and show in the logs or in an edittext, there is no strange character. Only When I show in the label.
The field is an text type. I try to read with this codes without success:
B4X:
rs.GetString("message")
Dim b() As Byte = rs.GetBlob("message")
msg = BytesToString(b, 0, b.Length, "utf8")
Thanks in advance for any tip.