From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Coding systems vietnamese-vscii and vietnamese-tcvn Date: Fri, 21 Jul 2023 15:34:57 +0300 Message-ID: <83zg3pzbm6.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26934"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 21 14:35:23 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qMpLt-0006py-P0 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jul 2023 14:35:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMpKz-0007Mv-TE; Fri, 21 Jul 2023 08:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpKx-0007Mh-Di for emacs-devel@gnu.org; Fri, 21 Jul 2023 08:34:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpKx-0002UH-5S; Fri, 21 Jul 2023 08:34:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GVPon76EvBqRutamgIzgamwyl7kc/U8YX1hS/YJmXd4=; b=gGk22KHKFMiN MC+OjSq1DXAkB+kVRj1YO+VCkNjPAJD80Xaov53p7tiFTRLvh0d2U6SgdkKbmvofl+0x7cvCEdQOF 0RthxiEDlsOltMpUTuOkDlg2hzwy5KtiZ4V9Dok6GfsoUmlhtFEvAajXRUSVhnmMxiDfJ1i9ji8ML 6soLM3L8/z3dk9v43JBhagx8QmF/oLUQ1ILZk6JOuVRhQkh064Rg1VQ6PGvaBrZFR+2UGZQ6U4fbg hg75MyvhbN0la3p9C7RrzFrRH9J6uMMrrLDYTuPSUYc8iWJceDCjDqnRwflrhNsBZyd56pK1J7FBd qtB79prRlb2GJVjKgR2zXQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMpKw-00068X-LB; Fri, 21 Jul 2023 08:34:22 -0400 In-Reply-To: (message from Ulrich Mueller on Fri, 21 Jul 2023 13:26:02 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307997 Archived-At: > From: Ulrich Mueller > Date: Fri, 21 Jul 2023 13:26:02 +0200 > > language/vietnamese.el defines coding systems vietnamese-vscii > (with charset vscii) and vietnamese-tcvn (with charset tcvn-5712). > However, mule-conf.el defines the two charsets as aliases [1]: > > (define-charset-alias 'tcvn-5712 'vscii) > > Indeed, a file containing bytes 0x00 to 0xff decodes to the same buffer > contents, regardless if its coding is specified as vscii or as tcvn. > > Wikipedia also seems to say that these are only different names for > the same encoding: https://en.wikipedia.org/wiki/VSCII > > Should coding system vietnamese-tcvn be an alias for vietnamese-vscii > (or the other way around)? Why is the fact that we have two separate coding systems a problem in this case?