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

 
 

You are not allowed to post comments on this tracker with your current authentication 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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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
  • -email is unavailable- added by zhangweiwu (Zhang Weiwu)
  • -email is unavailable- added by zhangweiwu (Voted in favor of this item)
  • -email is unavailable- added by ericb (Posted a comment)
  • -email is unavailable- added by spiritus999 (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-06 zhangweiwu Carbon-Copy- => Added -email is unavailable-
        Carbon-Copy- => Added zhangweiwu

    Back to the top


    Powered by Savane 3.3