NetBSD Problem Report #45056

From cheusov@tut.by  Sun Jun 12 11:52:44 2011
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7675463B970
	for <gnats-bugs@gnats.netbsd.org>; Sun, 12 Jun 2011 11:52:44 +0000 (UTC)
Message-Id: <87mxhn8j9z.fsf@asrock.chizhovka.net>
Date: Sun, 12 Jun 2011 12:56:56 +0300
From: cheusov@tut.by
To: gnats-bugs@gnats.NetBSD.org
Subject: sort -f works incorrectly with utf-8 locale
X-Send-Pr-Version: 3.95

>Number:         45056
>Category:       bin
>Synopsis:       sort -f works incorrectly with utf-8 locale
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 12 11:55:00 +0000 2011
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.99.52
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.99.52 NetBSD 5.99.52 (GENERIC) #0: Wed Jun 1 01:50:07 UTC 2011 builds@b7.netbsd.org:/home/builds/ab/HEAD/amd64/201106010020Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
sort -f doesn't work correctly with utf-8 locale.

/usr/pkg/heirloom/bin/posix2001/sort from wip/heirloom-sort
package work correctly.

typescript and input file in utf-8 encoding is available here
ftp://ftp.netbsd.org/pub/NetBSD/misc/cheusov/sort-f_bug/

Input file 2.txt contains [Mm]ather and [Ff]ather written in Russian.
>How-To-Repeat:
See
ftp://ftp.netbsd.org/pub/NetBSD/misc/cheusov/sort-f_bug/typescript
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.