Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ascii code for Euro symbol?

0 views
Skip to first unread message

Connie Sellitto

unread,
Apr 13, 2005, 4:28:02 PM4/13/05
to HP30...@raven.utc.edu
Hello Listers,
What is the ASCII code for the Euro symbol, (if any)? - We're keying
in data on PC's, Macs and good old fashioned HP 700/94 terminals.
Must be able to be stored in a TURBO IMAGE database.
Thanks in advance.
--
Connie Sellitto
Programmer/Analyst
732-528-9797 ext 18

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

Wirt Atmar

unread,
Apr 13, 2005, 4:45:23 PM4/13/05
to HP30...@raven.utc.edu
Connie asks:

> What is the ASCII code for the Euro symbol, (if any)? - We're keying
> in data on PC's, Macs and good old fashioned HP 700/94 terminals.
> Must be able to be stored in a TURBO IMAGE database.

That depends on whose code set you're using. If you're using a
Windows-compatible printer, the Euro is at decimal 128, the first character in the upper
register.

If you're using an HP-compatible printer, the Euro is decimal 186. This used
to be the character position for the universal currency symbol in "Roman8",
but it has now been changed to the Euro symbol, causing HP to rename the coding
set "Roman9". This one change of one glyph is the only difference between
Roman8 and Roman9.

Native PostScript probably has it somewhere else, as likely does the Mac, but
off of the top of my head, I don't know where they put it.

In all of the coding sets, the lower register (codes 0 to 127) are the same
ASCII characters.

As for storing it in an IMAGE database, you can certainly do that. It's just
one value out of 256 values for a byte, but you will have to agree on which
form of printer and terminal display you'll want to use before you begin.

Wirt Atmar

Lars Appel

unread,
Apr 13, 2005, 4:51:42 PM4/13/05
to HP30...@raven.utc.edu
Connie,

as far as I recall, the difference between Roman8 and
Roman9 encoding is the Euro Symbol at character code 186,
where Roman8 had some little "sputnik" (circle with four
small "antennas").

:) Lars

Alan Yeo

unread,
Apr 20, 2005, 6:14:45 AM4/20/05
to
In article <81.2588639...@aol.com>, Wirt Atmar
<Wirt...@aol.com> writes

>Connie asks:
>
>> What is the ASCII code for the Euro symbol, (if any)? - We're keying
>> in data on PC's, Macs and good old fashioned HP 700/94 terminals.
>> Must be able to be stored in a TURBO IMAGE database.
>
<SNIP Why you dont want to store the symbol>

>
>As for storing it in an IMAGE database, you can certainly do that. It's just
>one value out of 256 values for a byte, but you will have to agree on which
>form of printer and terminal display you'll want to use before you begin.
>
>Wirt Atmar
>

From my experience, and for some of the reasons Wirt gave, we never try
and store the currency symbol but store the international three letter
currency code T.L.A.

That way where ever and on what ever you print or store a currency
indicator it always comes out the same.

For example the United States Dollar is USD rather than the funny S with
the bars through it. The English Pound is GBP "Great Britain Pound" and
the European Euro is "EUR".

For a full list of the ISO 4217 International Currency Codes try
http://www.loggie.com/currency.asp

Hey I know it two more characters to store, but disc is cheap these days
:-) And you'd hate someone to pay you in Canadian Dollars rather than US
Dollars just because you only wanted to print one character rather than
three. No offence to those Canadian's reading this :-)

--
Alan Yeo
ALA...@AFFIRM.CO.UK Just because you're paranoid
Phone +44 1684 291710 it doesn't mean someone isn't!.
Fax +44 1684 291712

0 new messages