* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> 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
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
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