From nobody@FreeBSD.org  Thu Feb 14 10:53:22 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5C16237B405
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2002 10:53:21 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1EIrLO73889;
	Thu, 14 Feb 2002 10:53:21 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202141853.g1EIrLO73889@freefall.freebsd.org>
Date: Thu, 14 Feb 2002 10:53:21 -0800 (PST)
From: Dmitry Andrianov <dimas@dataart.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New locale (Cyrillic Windows Codepage 1251) for FreeBSD
X-Send-Pr-Version: www-1.0

>Number:         34935
>Category:       conf
>Synopsis:       New locale (Cyrillic Windows Codepage 1251) for FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 11:00:02 PST 2002
>Closed-Date:    Tue Mar 29 14:16:38 GMT 2005
>Last-Modified:  Tue Mar 29 14:16:38 GMT 2005
>Originator:     Dmitry Andrianov
>Release:        3.5, 4.4, 4.5
>Organization:
DataArt
>Environment:
>Description:
No one of FreeBSD version i'm working with has "out of the box" support for Windows Cyrillic charset (codepage 1251). I believe, CP1251 charset is now most widely used in the exUSSR region.

I'm sending you all files, needed to build CP1251 locale (i think the best name for it is ru_RU.CP1251). There may be some inconsistencies with these files - i'm not guru :) At least, uppercase/lowercase conversion works, as well as sorting.

>How-To-Repeat:

>Fix:
I have placed all (i hope) files, you need to add to the FreeBSD distribution in order to get CP1251. 

http://hydra.marketsite.ru/dimas/FreeBSD/FreeBSD-CP1251-locale.tgz

Content of the archive:

1. mklocale/ru_RU.CP1251.src
source file for the mklocale (to get LC_CTYPE).

2. colldef/map.CP1251, colldef/ru_RU.CP1251.src
source files for the colldef (to get LC_COLLATE).

3. LC_TIME
LC_TIME itself

I have no Makefiles, sorry. Actually, i think you will spend ten times less time then me trying to place files to the proper places and fixing Makefiles.

>Release-Note:
>Audit-Trail:

From: "Andrey A. Chernov" <ache@nagual.pp.ru>
To: Dmitry Andrianov <dimas@dataart.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/34935: New locale (Cyrillic Windows Codepage 1251) for FreeBSD
Date: Thu, 14 Feb 2002 22:34:18 +0300

 On Thu, Feb 14, 2002 at 10:53:21 -0800, Dmitry Andrianov wrote:
 
 > I'm sending you all files, needed to build CP1251 locale (i think the
 best name for it is ru_RU.CP1251). There may be some inconsistencies with
 these files - i'm not guru :) At least, uppercase/lowercase conversion
 works, as well as sorting.
 
 1) "Some things works" is not acceptable, all locales must strictly 
 conforms corresponding standards in all possible aspects.
 
 2) Files you submit appearse like for FreeBSD-stable version while all 
 development changes must pass FreeBSD-current first.
 
 3) We already have some CP1251 related files in -current (for BG locale), 
 better way will be to use them.
 
 -- 
 Andrey A. Chernov
 http://ache.pp.ru/

From: "Dmitry Kazarov" <dkazarov@tvc.ru>
To: freebsd-gnats-submit@FreeBSD.org, dimas@dataart.com
Cc:  
Subject: Re: misc/34935: New locale (Cyrillic Windows Codepage 1251) for
	 FreeBSD
Date: Mon, 25 Mar 2002 16:03:12 +0300

 1. I've corrected the locale's files so it's fully working under 4.5-stable
 Sources are available from http://www.tvc.ru/cp1251.tar.gz
 2. I use them in production environment so I have no any -current version to
 test them.
 3. Bulgarian CP1251 locale uses another language and categories LC_COLLATE,
 LC_CTYPE, LC_TIME, LC_MONETARY, LC_MESSAGES differ from ones in Russian
 locale (only LC_NUMERIC is the same in both locales).
 
 PS: Demand in ru_RU.CP1251 grows from day to day - while most my past
 projects were in KOI8-R currently I'm forced to start all projects in
 CP1251. It's definitly becoms a standart cyrillyc encoding.
 
 Dmitry
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: ache 
State-Changed-When: Mon Apr 15 08:04:07 PDT 2002 
State-Changed-Why:  
This variant is wrong in every its piece. Reasons are: 

Incorrect map and colldef data copied from KOI8-R instead of reflecting CP1251 
characters. Moreover, we already have CP1251 map. 

No monetdef, numericdef, msgdef 

Incomplete mklocale table. We already have the right table. 

LC_CTIME have comments stripped and out of the right format 


http://www.freebsd.org/cgi/query-pr.cgi?pr=34935 
State-Changed-From-To: feedback->patched 
State-Changed-By: ache 
State-Changed-When: Fri Jun 6 18:51:03 PDT 2003 
State-Changed-Why:  
Other CP1251 locale added into -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34935 

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: conf/34935: New locale (Cyrillic Windows Codepage 1251) for FreeBSD
Date: Tue, 29 Mar 2005 14:19:36 +0200

 --rnP2AJ7yb1j09OW/
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 This PR can be closed.
 The fix was committed and MFCed looong time ago.
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --rnP2AJ7yb1j09OW/
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSUfY2Mp4pR7Fa+wRAkqcAJ92wL9ofUZlulbFokh48BlaeW2vyQCfeAEK
 TPF0hTqSfdjohEKczIbw208=
 =OHBq
 -----END PGP SIGNATURE-----
 
 --rnP2AJ7yb1j09OW/--
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Tue Mar 29 14:14:25 GMT 2005 
State-Changed-Why:  
There is CP1251 locale in RELENG_4, RELENG_5 and HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34935 
>Unformatted:
