unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding
@ 2010-06-26 16:59 Laimonas Vėbra
  2012-04-10 11:14 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Laimonas Vėbra @ 2010-06-26 16:59 UTC (permalink / raw)
  To: 6519

[-- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding
  2010-06-26 16:59 bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding Laimonas Vėbra
@ 2012-04-10 11:14 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-04-10 11:14 UTC (permalink / raw)
  To: Laimonas Vėbra; +Cc: 6519

Laimonas Vėbra <laimonas.vebra@gmail.com> writes:

> 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.

Thanks; applied to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-10 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-26 16:59 bug#6519: [PATCH] missing cp775 (PC Baltic, MS-DOS Baltic Rim) coding Laimonas Vėbra
2012-04-10 11:14 ` Lars Magne Ingebrigtsen

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).