From: "Lambert, Joshua D" <JLambert@MissouriState.edu>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Multiple encodings in one file
Date: Mon, 29 Apr 2024 04:20:54 +0000 [thread overview]
Message-ID: <SA1PR01MB66053ED8575D28A5F4C6FF8BD91B2@SA1PR01MB6605.prod.exchangelabs.com> (raw)
Question: If I open a file that uses one encoding in one part of the file and another encoding in another part of the file, and also uses multiple character sets, can I edit a small part of it in Emacs, using UCS (Unicode), without Emacs changing the rest of the file?
Background: I work in a library ( the book kind) and use MARC files (https://www.loc.gov/marc/). MARC is a file transmission format that may have multiple "records." These records may contain text encoded in ISO/IEC 10646:202 (Unicode) or MARC-8 (https://www.loc.gov/marc/specifications/speccharintro.html), an encoding used mainly/only by libraries for MARC files. Libraries may have records of both types and one file may have records with both encodings, and multiple character sets. I'm attempting to write a major mode to work with these files in Emacs. Emacs does not recognize the MARC-8 encoding.
Thanks for your help,
Joshua Lambert
Librarian
Missouri State University
next reply other threads:[~2024-04-29 4:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 4:20 Lambert, Joshua D [this message]
2024-04-29 7:22 ` Multiple encodings in one file Eli Zaretskii
2024-04-29 18:45 ` Lambert, Joshua D
2024-04-29 19:14 ` Eli Zaretskii
2024-04-29 21:07 ` Lambert, Joshua D
2024-04-30 2:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-04-30 17:17 ` Lambert, Joshua D
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA1PR01MB66053ED8575D28A5F4C6FF8BD91B2@SA1PR01MB6605.prod.exchangelabs.com \
--to=jlambert@missouristate.edu \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.