[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Copying to unicode.
From: |
Steven W. Orr |
Subject: |
Copying to unicode. |
Date: |
Wed, 03 Nov 2010 12:27:45 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
People send me stuff from Outlook all the time. I sometimes want to copy some
of the text to a file I'm editing in emacs. The text displays fine in emacs,
but what I really want to do is to set myself up so that *funny* characters
end up being pasted in using unicode.
I see that there's something called the nonascii-translation-table. I'm
looking for low-hanging fruit. Has anyone already written something cool that
translates funny characters to keep me in unibyte? Examples would be:
Open or close double quotes ==> " ( \042 )
enspace, mspace, etc ==> ' ' ( \040 )
Funny single quotes ==> ' ( \047 )
etc...
Anyone? Or is this a dumb idea?
Thanks.
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
- Copying to unicode.,
Steven W. Orr <=