all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* fixing M$ character codes
@ 2004-07-03 16:00 nospam55
       [not found] ` <Jym.wzfz884ct0.fsf@econet.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: nospam55 @ 2004-07-03 16:00 UTC (permalink / raw)


Hi! Help me and the mankind ! 

I have often to correct manually dowloaded M$ - originating text , i. e. I must bother
to do the ethernal replacements

    \222 into '
    \213 into <
    etc etc

        , where the codes are taken from the well-known

               (defvar gnus-article-dumbquotes-map
                 '(("\202" ",")
                   ("\203" "f")
                   ("\204" ",,")
                   ("\205" "...")
                   ("\213" "<")
                   ("\214" "OE")
                   ("\221" "`")
                   ("\222" "'")
                   ("\223" "``")
                   ("\224" "\"")
                   ("\225" "*")
                   ("\226" "-")
                   ("\227" "--")
                   ("\231" "(TM)")
                   ("\233" ">")
                   ("\234" "oe")
                   ("\264" "'"))
                 "Table for MS-to-Latin1 translation.")

Now, the big question whose answer I didn't find on the internet 

   is there a way for having emacs fix this mess ?

My dream is to have something like 

    M-x  fix-evil-empire-nonsense  RET

that automatically does on the selected region the replacements above for us
poor humans.

Any package? Any defun ?

   Thank you :)



PS micro$oft-ware makes many people to write 

    \222 for ' apostrophe
    \202 for , comma
    \213 for < "less than"
    \233 for > "greater than"
    \224 for backslash
    \225 for asterisk
    etc etc


without they realize this :(

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

end of thread, other threads:[~2004-07-15 16:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-03 16:00 fixing M$ character codes nospam55
     [not found] ` <Jym.wzfz884ct0.fsf@econet.org>
2004-07-04 13:19   ` nospam55
2004-07-04 14:08 ` Jym Dyer
2004-07-05 10:00   ` Haines Brown
2004-07-05 10:19     ` Thomas Gehrlein
2004-07-07 15:12     ` Jym Dyer
2004-07-07 20:38       ` Haines Brown
2004-07-15 16:59         ` Jym Dyer
2004-07-04 21:06 ` Jesper Harder
2004-07-05 14:22 ` nospam55

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.