what is the encode for the Arabic

farisnt

Member
Licensed User
Longtime User
I made a small chat program
The Code that recive the data is
B4X:
Sub tcpStreams_NewData (Buffer() As Byte)
   Dim msg As String 
   msg=BytesToString(Buffer,0,Buffer.Length ,"UTF-8")
   ListNum=ListNum+1
   'Main.chatview.AddSingleLine (msg)
End Sub

I guess that the problem is with UTF-8
but what is the correct encode :(

:sign0013:
 
Top