#431231 tr: no UTF-8 support

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Juhapekka Tolvanen
Date:
2025-07-13 13:01:02 UTC
Severity:
normal
Tags:
#431231#5
Date:
2007-06-30 20:29:25 UTC
From:
To:
juhtolv@juhtolv:/home/juhtolv % echo 'huuhaa öljy äiti über' | tr '[:lower:]' '[:upper:]'
HUUHAA öLJY äITI üBER
juhtolv@juhtolv:/home/juhtolv % echo 'huuhaa öljy äiti über' | tr '[:lower:]' '[:upper:]' | tr 'åäöü' 'ÅÄÖÜ'
HUUHAA ÖLJY ÄITI ÜBER
juhtolv@juhtolv:/home/juhtolv %

See locale below.

#431231#10
Date:
2007-06-30 21:33:12 UTC
From:
To:
merge 431231 139861
thanks

Juhapekka Tolvanen wrote:

See also these related issues.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=139861
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388689

It is a known deficiency in coreutils in general that the utilities
are not multibyte aware.  The following can be found in the upstream
source package TODO file.

  Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be
    multibyte aware.  The problem is that I want to avoid duplicating
    significant blocks of logic, yet I also want to incur only minimal
    (preferably `no') cost when operating in single-byte mode.

Some vendors have hacked in patches to make the utilities multibyte
aware but none of those patches have been considered clean enough to
incorporate into the upstream source yet.  Debian's maintainer has
stated that he does not want to diverge from upstream this radically.
The patches are very messy and incomplete.  The best course of action
would be to get this resolved upstream with the functionally properly
integrated.

Bob

#431231#15
Date:
2007-12-25 04:48:59 UTC
From:
To:
Look at this:

% echo 'huuhaa öljy äiti über' | tr '[:lower:]' '[:upper:]'
HUUHAA öLJY äITI üBER
% echo 'huuhaa öljy äiti über' | /opt/heirloom/5bin/tr '[:lower:]' '[:upper:]'
HUUHAA ÖLJY ÄITI ÜBER

That Heirloom Toolchest is available here:

http://heirloom.sourceforge.net/

IMNSHO Debian project should package that toolchest, too. Maybe GNU
tools should be replaced with them, but that would be very radical.

Also other software from Heirloom -project should be Debian-packaged,
because they have superior UTF-8 -support when compared to
GNU-counterparts. For example their roff -implementation can handle
UTF-8 and OpenType-fonts.

#431231#20
Date:
2007-12-31 17:14:08 UTC
From:
To:
Somebody else is welcome to try to do so, but I don't have the time, I'm
afraid.

Cheers,

#431231#25
Date:
2008-01-22 19:56:51 UTC
From:
To:
forcemerge 139861 388689 431231
tags 139861 + upstream confirmed wontfix
found 139861 6.10~20071127-1
thanks

Hi,

I'm merging these bugs (all about tr not supporting UTF-8), that still
affects the current coreutils in experimental. "wontfix" indicates that
this is not going to be fixed by a debian-specific patch, but that the
problem should be fixed upstream first.

#431231#48
Date:
2018-02-15 07:23:44 UTC
From:
To:
Laba diena,


Noriu Jus informuoti apie šių metų pasikeitimą dėl atnaujintos visos Lietuvos įmonių bazės 2018 metų sausio vidurio.
Visi juridiniai asmenys pateikti bazėje yra veikiantys, realiai vykdantys veiklą, turintys įdarbintų darbuotojų. Duomenys pagal Sodrą, Registrų centrą.

Bazėje nurodoma ir apyvarta, darbuotojų atlyginimai, darbuotojų skaičius, transporto skaičius ir daug kitų duomenų, kuriuos matysite pavyzdyje.

Duomenis galima filtruoti pagal veiklas, miestus ir kitus duomenis.


Šią bazę verta turėti visoms įmonėms. Pateiksiu priežastis:

1) Kontaktai pateikti bazėje direktorių ir kitų atsakingų asmenų, didelė tikimybė Jums surasti naujų klientų, partnerių, tiekėjų, kai tiesiogiai bendrausite su direktoriais, komercijos vadovais.

2) Konkurentų analizavimas, tiekėjų atsirinkimas pagal Jums reikalingus kriterijus, galite atsifiltruoti pagal įmonės dydį, bazėje nurodoma kiek įmonės skolingos Sodrai.

3) Lengva, greita ir patogu dirbti su šia baze, elektroninius pašto adresus galite importuoti į elektroninių laiškų siuntimo programas ar sistemas iš kurių siunčiate elektroninius laiškus.
Taip pat galite importuoti mobiliųjų telefonų numerius į SMS siuntimo programas.


Išsirinkite iš "Veiklų sąrašo" veiklas kurių Jums reikia.
( Sąrašas prisegtas laiške excel faile )

Parašykite, kurias veiklas išsirinkote
ir atsiųsime pavyzdį ir pasiūlymą su sąlygomis įmonių bazei įsigyti



Pagarbiai,
Tadas Giedraitis
Tel. nr. +37067881041