Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had a plain English .txt file. After sending it via Bluetooth, the content is corrupted and has weird characters like : #šh‘÷ÔÈ

Any tips on what I can do to recover the original text?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Text can be stored in different ways, the encoding of the text defines how the bytes of the file have to be interpreted by the text editor reading the file. For plain text files there is no way to store meta information about encoding, so the text editor picks its standard setting.

Under Windows most files are stored and read as ANSI, if you have a file that was stored as UTF-8, with or without byte order mark (BOM), this will mess up the formating (vice versa). Additionally MacOS, Linux and Windows all use different styles of linebreaks, but these usually only mess with paragraphs and do not add funny characters.

I'd recommend getting a text editor like notepad++ (for windows) which makes it easy to switch encoding.

share|improve this answer
    
Thanks. Already tried notepad++ with no luck. I've tried several encodings but none of them worked. I don't believe it's just an encoding problem. It looks like a damaged file for me. Any idea? –  Moayad Mardini Apr 2 '12 at 19:53
    
You could rule out a transmission problem by simply sending it again. But I think that bluetooth has some level of error correction, so the problem is probably somewhere else. –  Baarn Apr 2 '12 at 20:33
    
The real problem is that I don't have access to the original file anymore. I +1 you but I'd appreciate any other ideas :) Thanks.. –  Moayad Mardini Apr 2 '12 at 21:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.