I’ve made an app which sends data to an SQL database. The data is send trough an UITextView which has multiple lines.
Normally Windows sees an enter(line break) as the Hexadecimal 0D0A.
0D = Carriage Return
0A = Line Feed
Now the app only sends the 0A hexadecimal Line feed. Not the 0D carriage return. How do I get the 0A (line feed) replaced by 0D0A(carriage return, line feed)?
I’ve fixed it in my C# .NET enviroment.
string.Replace("\n", Enviroment.NewLine);