am new here
iam facing a problem when am using rfcomm socket connection when the connection was established successfully and client passes a string into server
here server in linux (bluez api)
client mobile phone(client in java -midp)
client passes a string to server it reads it and print on the terminal
but nothing would do with it.
when that string written into a txt file it cant read it says it cant identify its character encoding.
what will be the problem ?
i am confusing . in java i am convert all the string in utf-8 format before sending it (in built in method)