bugGNU Core Utilities - Bugs: bug #23030, tr doesn't support multibyte...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #23030: tr doesn't support multibyte strings

Submitted by:  spiritus <spiritus999>
Submitted on:  Wed 23 Apr 2008 05:46:08 PM UTC  
Votes:  30  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu 24 Apr 2008 03:42:21 AM UTC, comment #1:

This has been a frequently posted issue. Read more about the current state of things in this thread: http://lists.gnu.org/archive/html/bug-coreutils/2008-04/msg00231.html

Eric Blake <ericb>
Project Administrator
Wed 23 Apr 2008 05:46:08 PM UTC, original submission:

test case:
$ echo $LANG
ru_RU.UTF-8
$ echo БАГАЖ|tr АБГЖ ABGJ
JJJBJJJBJJ
$ echo БАГАЖ|tr Ж J
J�J�J�J�JJ

Bug acknowledged with coreutils 6.10 and 6.11

Expected correct behavior:
$ echo БАГАЖ|sed "y/Ж/J/"
БАГАJ
$ echo БАГАЖ|sed "y/АБГЖ/ABGJ/"
BAGAJ
$ sed --version
GNU sed версия 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
Это свободное программное обеспечение; условия его копирования смотрите в
исходных текстах. Не предоставляется НИКАКОЙ гарантии; даже гарантии
ПРИГОДНОСТИ ДЛЯ ПРОДАЖИ или ПРИМЕНИМОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ, в той мере,
в которой это может быть допущено законодательством.

spiritus <spiritus999>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by zhangweiwu (Zhang Weiwu)
  • -unavailable- added by zhangweiwu (Voted in favor of this item)
  • -unavailable- added by ericb (Posted a comment)
  • -unavailable- added by spiritus999 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 30 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Mar 2009 06:08:26 AM UTCzhangweiwuCarbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added zhangweiwu

    Back to the top


    Powered by Savane 3.1-cleanup