GNU bug report logs - #26806
multibyte: tr: Invalid byte sequence in tr command

Previous Next

Package: coreutils;

Reported by: maximiliam steffens <maxsteffens <at> gmail.com>

Date: Sat, 6 May 2017 16:43:02 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: maximiliam steffens <maxsteffens <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Invalid byte sequence in tr command
Date: Sat, 6 May 2017 12:07:38 -0300
[Message part 1 (text/plain, inline)]
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.srt


subritle anexo
http://www.cdef.com.br/ <eu> <http://www.cdef.com.br/>
http://www.cdef.com.br/busca/ <eu> <http://www.cdef.com.br/busca/>
http://www.mamaeebebeabordo.com.br/<esposa>
http://www.lostinchicklit.com.br/ <filha n°1>
<http://www.lostinchicklit.com.br/>
http://msteffensillustrations.blogspot.com.br/ <filha n°2>
<http://msteffensillustrations.blogspot.com.br/>
[Message part 2 (text/html, inline)]
[legenda1.srt (application/x-subrip, attachment)]

This bug report was last modified 6 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.