[Novalug] what about the euro symbol?

Jay Berkenbilt ejb at ql.org
Sat Dec 8 10:47:17 EST 2007


Nino Pereira <pereira at speakeasy.net> wrote:

> Does a euro sign exist? if so, where? and what about other special
> symbols that one may want to have? Is this related to 'keymapping'?
> and if so, how?

There is a Euro symbol.  Its Unicode code point is 0x20AC.  You can
get it to render in a browser using the entity &#x20ac;.  I've made
this a MIME message and included an inline HMTL file at the end of the
message.  If your mail reader can render it, you should see a Euro
symbol.  If not, you'll see some HTML code to generate one.

As for how to enter it, that depends on the application.  I'm not an
expert on that because I only use emacs. :-) In emacs, I have this
little emacs lisp function I wrote years ago when emacs first had
Unicode support but didn't have very many good input methods:

(defun insert-unicode-char (hex)
  "Insert a unicode character by hexadecimal value."
  (interactive "sHexadecimal Value: ")
  (insert (decode-char 'ucs (string-to-number hex 16)))
)

With this, you can use M-x insert-unicode-char 20ac, but I'm sure
there must be much better ways to do that.

It's worth nothing as well that, on Windows systems, they use this
"code page 1252" which is their own use of some "unused" characters.
In that code page, the Euro symbol is on 0x80.  This is just
significant because some Windows documents probably use that character
value.

I know this is probably not the level of information you're looking
for, but maybe it will provide some additional search fodder.

--Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20071208/8c6ac6f2/a.html


More information about the Novalug mailing list