Posted by: maki | Date: 2020-02-03 09:55 | IP: IP Logged
How to recover/restore text encoding?
I had a text file saved as CP-1250
but I accidentally saved it as CP-1251
and damaged e.g. Polish letters.
UTF-8: 0xD1 0x9A
CYRILLIC SMALL LETTER NJE
UTF-8: 0xE2 0x84 0x96
Edited 3 time(s). Last edit at 2020-02-03 10:01 by maki.
Posted by: pspad | Date: 2020-02-03 10:02 | IP: IP Logged
Open your file with encoding 1251, change encoding to 1250, save your file and reload (Ctrl+R).
In most cases will help to do same things in reverse order.
I tested with your line and got:
Posted by: maki | Date: 2020-02-03 10:22 | IP: IP Logged
I have to correct my question.
The text was saved as CP-1250
Next saved as CP-1251
Next saved as UTF-8
I made 2 mistakes.
So it's still bad.
Edited 1 time(s). Last edit at 2020-02-03 10:23 by maki.
Posted by: pspad | Date: 2020-02-03 10:24 | IP: IP Logged
open as UTF-8, save as 1251, reload
open are 1251, save as 1250, reload
Posted by: maki | Date: 2020-02-03 10:35 | IP: IP Logged
I still have damaged text.
My native system is CP-1250
Posted by: pspad | Date: 2020-02-03 10:58 | IP: IP Logged
Send me your file into support mail, I will try to recover it. If you didn't make any other savings that you wrote.
Edited 1 time(s). Last edit at 2020-02-03 10:58 by pspad.
Posted by: maki | Date: 2020-02-03 11:26 | IP: IP Logged
Sorry. I can not. Because these are the addresses of people.
UE General Data Protection Regulation, (GDPR)
Posted by: maki | Date: 2020-02-03 11:37 | IP: IP Logged
Character Encoder / Decoder Tool
Encoding / Decoding tool simulate character encoding problems and errors.
Encode with: windows-1251
Decode with: windows-1250
Edited 1 time(s). Last edit at 2020-02-03 11:42 by maki.