From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34862: 27.0.50; Trying to update pinyin.map Date: Fri, 15 Mar 2019 09:04:54 +0200 Message-ID: <83ef781uuh.fsf@gnu.org> References: <87zhpxyvls.fsf@ericabrahamsen.net> <83ftro20gt.fsf@gnu.org> <87o96cbrwp.fsf@ericabrahamsen.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="182023"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34862@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 15 08:08:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4gwr-000lCi-CY for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2019 08:08:09 +0100 Original-Received: from localhost ([127.0.0.1]:50914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4gwq-0008PG-4v for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2019 03:08:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4gwk-0008Ow-5a for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 03:08:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4guo-0002tM-ER for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 03:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4guo-0002t6-6y for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 03:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4gun-0008Hd-Qe for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2019 03:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Mar 2019 07:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34862 X-GNU-PR-Package: emacs Original-Received: via spool by 34862-submit@debbugs.gnu.org id=B34862.155263352131783 (code B ref 34862); Fri, 15 Mar 2019 07:06:01 +0000 Original-Received: (at 34862) by debbugs.gnu.org; 15 Mar 2019 07:05:21 +0000 Original-Received: from localhost ([127.0.0.1]:44334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4gu9-0008GZ-FT for submit@debbugs.gnu.org; Fri, 15 Mar 2019 03:05:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4gu7-0008GM-T1 for 34862@debbugs.gnu.org; Fri, 15 Mar 2019 03:05:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4gu2-0002Tf-AF; Fri, 15 Mar 2019 03:05:14 -0400 Original-Received: from [176.228.60.248] (port=2123 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4gu0-0003to-Rr; Fri, 15 Mar 2019 03:05:13 -0400 In-reply-to: <87o96cbrwp.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Thu, 14 Mar 2019 22:58:14 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156373 Archived-At: > From: Eric Abrahamsen > Cc: 34862@debbugs.gnu.org > Date: Thu, 14 Mar 2019 22:58:14 -0700 > > > I'm not sure I understand the encoding of which file would you like to > > change? Could you please clarify? > > Sorry, I'm trying to add more characters to ./leim/MISC-DIC/pinyin.map, > which is encoded as chinese-iso-8bit-dos, and it can't accept the new > characters with that current encoding. That's the file I'd like to > change. That file is imported from an external source, isn't it? Are you saying we should stop synchronizing it with that source, and instead fork it, maintain our own separate copy, and never resync with that source again? If so, then I see no reason not to recode it in UTF-8. Btw, I understand that the Google pinyin method is Apache licensed, but does this mean we can freely use its data for updating pinyin.map? IANAL. Could you perhaps describe how you intend to extract the data from the Google input method for the purpose of updating our file? I think someone will have to audit that process for being legal and compatible with both the Apache license and the GPL. (Also, I'm somewhat surprised that gbk isn't capable of covering the characters you want to add. Or did you not try using it?) Thanks.