Hi
Maybe i'm stup......
But i can't find my problem with Swedish letters.
I know this from before but i cant find the solution
If i send from a textbox "ÅÄÖ"
In my pc i will have the value 229, 228, 246 .
And they are translated into ???
And when i send the same letters between 2 androids i will get "???" insted of "ÅÄÖ"
If i set a breakpoint on this line i can see that the "ÅÄÖ" will have the Value 63, 63, 63
What is it that i dont do in the right way ??
Maybe i'm stup......
But i can't find my problem with Swedish letters.
I know this from before but i cant find the solution
If i send from a textbox "ÅÄÖ"
B4X:
Dim buffer() As Byte
buffer = DataToSend.GetBytes("ISO-8859-1")
Astream.Write(buffer)
And they are translated into ???
And when i send the same letters between 2 androids i will get "???" insted of "ÅÄÖ"
If i set a breakpoint on this line i can see that the "ÅÄÖ" will have the Value 63, 63, 63
B4X:
Sub Astream_NewData (Buffer() As Byte)
Msg = Conv.StringFromBytes(Buffer,"ISO-8859-1")
What is it that i dont do in the right way ??