bug#26806: Invalid byte sequence in tr command

2018-10-28 Thread Assaf Gordon
severity 26806 wishlist retitle 26806 multibyte: tr: Invalid byte sequence in tr command stop (triaging old bugs) On 2017-05-06 9:07 a.m., maximiliam steffens wrote: Trying to convert subtitles with characters (accented) possibly changed by the opensubtitles. Converting only the lowercase let

bug#26806: Invalid byte sequence in tr command

2017-05-06 Thread maximiliam steffens
Trying to convert subtitles with characters (accented) possibly changed by the opensubtitles. Converting only the lowercase letters is ok $cat legenda1.srt | tr 'AЯЖЗсржьзнЩКу' 'AÀÊÔãáéíóôúÇç' > teste.srt With the capital letters of invalid code page $cat legenda1.srt | tr '├┴┬╔' 'ÃÁÂÉ' > teste2