unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Multiple encodings in one file
@ 2024-04-29  4:20 Lambert, Joshua D
  2024-04-29  7:22 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Lambert, Joshua D @ 2024-04-29  4:20 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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



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

end of thread, other threads:[~2024-04-30 17:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29  4:20 Multiple encodings in one file Lambert, Joshua D
2024-04-29  7:22 ` 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

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