unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Laimonas Vėbra" <laimonas.vebra@gmail.com>
To: 6519@debbugs.gnu.org
Subject: bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding
Date: Sat, 26 Jun 2010 19:59:06 +0300	[thread overview]
Message-ID: <4C2631DA.7080108@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

cp775 map file to unicode exists (/etc/charsets/cp775.map), but somehow 
earlier (in the middle of 2002, when adding windows-125X, other cpXXXX) 
this coding was not added to the /lisp/language/european.el.
Although i suppose it was done unintentionally, but in either case this 
(en)coding is needed, because it is oem/legacy (en)coding on dos/windows 
for the Baltic languages and still there are plenty of texts written in 
this encoding/codepage.

Patch attached.

[-- Attachment #2: add-missing-cp775-coding.txt --]
[-- Type: text/plain, Size: 668 bytes --]

=== modified file 'lisp/language/european.el'
*** lisp/language/european.el	2010-01-13 08:35:10 +0000
--- lisp/language/european.el	2010-06-26 15:46:59 +0000
*************** Latin-9 is sometimes nicknamed `Latin-0'
*** 325,330 ****
--- 325,338 ----
    :mime-charset 'windows-1257)
  (define-coding-system-alias 'cp1257 'windows-1257)
  
+ (define-coding-system 'cp775
+   "DOS codepage 775 (PC Baltic, MS-DOS Baltic Rim)"
+   :coding-type 'charset
+   :mnemonic ?D
+   :charset-list '(cp775)
+   :mime-charset 'cp775)
+ (define-coding-system-alias 'ibm775 'cp775)
+ 
  (define-coding-system 'cp850
    "DOS codepage 850 (Western European)"
    :coding-type 'charset


             reply	other threads:[~2010-06-26 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-26 16:59 Laimonas Vėbra [this message]
2012-04-10 11:14 ` bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2631DA.7080108@gmail.com \
    --to=laimonas.vebra@gmail.com \
    --cc=6519@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).