Replace multiple CP-1252 characters with CP-1251 characters

Hi folks,
I have a very old TM from Trados 2007. I converted it into an sdltm file. However many segments have got wrongly coded somehow.
Screenshot of Trados Studio showing a table with text segments. Some segments display coding errors with misplaced special characters and symbols.
 
Also, I have a table like this: 

1252

à|á|â|ã|ä|å|¸|æ|ç|è|é|ê|ë|ì|í|î|ï|ð|ñ|ò|ó|ô|õ|ö|÷|ø|ù|ú|û|ü|ý|þ|ÿ|À|Á|Â|Ã|Ä|Å|¨|Æ|Ç|È|É|Ê|Ë|Ì|Í|Î|Ï|Ð|Ñ|Ò|Ó|Ô|Õ|Ö|×|Ø|Ù|Ú|Û|Ü|Ý|Þ|ß

1251

а|б|в|г|д|е|ё|ж|з|и|й|к|л|м|н|о|п|р|с|т|у|ф|х|ц|ч|ш|щ|ъ|ы|ь|э|ю|я|А|Б|В|Г|Д|Е|Ё|Ж|З|И|Й|К|Л|М|Н|О|П|Р|С|Т|У|Ф|Х|Ц|Ч|Ш|Щ|Ъ|Ы|Ь|Э|Ю|Я

Is there any way to quickly replace CP-1252 chars with CP-1251 either by AHK script, or regex, or SDL AppStore app? 
Thank you.





Generated Image Alt-Text
[edited by: Trados AI at 4:35 AM (GMT 0) on 29 Feb 2024]
emoji
Parents Reply
  • Hi ,
    Thank you for your reply.
    Actually, I wrongly phrased my post... It reads as if conversion spoiled the coding. In fact, the wrong coding was already there in Trados 2007. Sorry for causing misconception.
    I could fix it by 66 replacements (33 Russian letters x 2 upper and lower cases). However I found it too time-consuming :) That's why I decided to ask experts. Probably somebody else, as lazy as me, knows how to do it quickly. From other forum I could find a workaround but it involves 3rd-party CAT tool. It can batch replace multiple chars in tmx in one go using a simple UTF-8 txt file with pairs like 
    à=а
    á=б
    ...
    ß=Я
    But I am reluctant to buy a 3rd-party tool for that single task. So far I have a free promo version to fix all my wrongly encoded TMs. And I hope it should suffice for my purposes because this problem does not arise anywhere in newer TMs.
    So the problem is solved for me now, but if anybody comes across this thread one day and can suggest a way to batch replace characters, I will still appreciate that.
    Cheers,
    Stepan

Children