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 #8 received at 26806 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: maximiliam steffens <maxsteffens <at> gmail.com>, 26806 <at> debbugs.gnu.org
Subject: Re: bug#26806: Invalid byte sequence in tr command
Date: Sun, 28 Oct 2018 21:14:22 -0600
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 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

It seems your message was lost and not answered to in a year.
Sorry about that.

Regarding 'tr': multibyte/utf-8 support is currently lacking,
but is being worked on.

I'll keep this bug open until it is resolved.

-assaf





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.