This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > February 2004 > SGML Charset explorer..





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SGML Charset explorer..
Andrew Thompson

2004-02-18, 11:30 am

I was recently loading an HTML editor
so I could find the charcode of that
particularly obscure character using the
editor's 'insert special character' dialog.

It occured to me there had to be a
better way.  There are probably dozens,
but here is my solution..
http://www.physci.org/codes/charset.jsp

This page is my 'charset explorer', it displays
character codes in a table 456 at a time.

It also has links to a page giving larger
representations of each character.  Vis.
http://www.physci.org/codes/char.jsp?char=65
http://www.physci.org/codes/char.jsp?char=84
http://www.physci.org/codes/char.jsp?char=1944

I hope it brings a..
http://www.physci.org/codes/char.jsp?char=9786
...to your mug.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Steve Pugh

2004-02-18, 1:38 pm

"Andrew Thompson" <SeeMySites@www.invalid> wrote:

>I was recently loading an HTML editor
>so I could find the charcode of that
>particularly obscure character using the
>editor's 'insert special character' dialog.
>
>It occured to me there had to be a
>better way.  There are probably dozens,


http://www.eki.ee/letter/ is my reference of choice.

>but here is my solution..
>http://www.physci.org/codes/charset.jsp


http://www.physci.org/codes/charset...-8859-1&frame=1
Characters 127 to 159 in ISO-8859-1 (and all other ISO-8859 encodings)
are control characters. You seem to have some Windows-1252 characters
in there instead.

http://www.physci.org/codes/charset...-8859-1&frame=2
There are only 256 characters in ISO-8859-1, so where did these come
from?

http://www.physci.org/codes/charset...-8859-5&frame=1
Doesn't actually display any cyrillic characters. Mainly because
you've coded them as &#XXX; and numeric character references in HTML
always refer to unicode.

Steve

--
"My theories appal you, my heresies outrage you,
 I never answer letters and you don't like my tie."  - The Doctor

Steve Pugh        <steve@pugh.net>        <http://steve.pugh.net/>
Andreas Prilop

2004-02-18, 2:29 pm

On Wed, 18 Feb 2004, Steve Pugh wrote:

http://www.physci.org/codes/charset...-8859-1&frame=1
> Characters 127 to 159 in ISO-8859-1 (and all other ISO-8859 encodings)
> are control characters. You seem to have some Windows-1252 characters
> in there instead.


Blame your own browser!

http://www.physci.org/codes/charset...-8859-1&frame=2
> There are only 256 characters in ISO-8859-1, so where did these come
> from?


The site is a bit confusing. Only "frame=..." is important for the
displayed characters. One and the same document is then sent with
different charset parameters. That should have no effect - but
actually browsers will take a different typeface for each charset
parameter.

http://www.physci.org/codes/charset...-8859-5&frame=1
> Doesn't actually display any cyrillic characters.


 <http://www.physci.org/codes/charset...-8859-5&frame=5>

Karl Smith

2004-02-18, 3:29 pm

"Andrew Thompson" <SeeMySites@www.invalid> wrote:

http://www.physci.org/codes/charset.jsp
>
> This page is my 'charset explorer', it displays
> character codes in a table 256 at a time.


Yeah, anyway. How do I save the applet with the periodic table? That's
my reason for loathing Flash and Java: when they are something
worthwhile it's always such a hassle to save.

Pack it all into 100+ nested tables, I say. Then use:

td table {
 display: none
}
td:hover table {
 display: table;
 position: absolute;
 z-index: 2;
}

- or something. Would be cool for one of those "this only works in
Opera" demo pages.
Andrew Thompson

2004-02-18, 4:01 pm

Karl Smith wrote:

> Yeah, anyway. How do I save the applet with the periodic table?


???  Bit of a change of subject!

Anyway, I had never bothered to set-up
the periodic table _applet_ as an easy install,
but you can get the application here..
http://www.physci.org/install/download.jsp

It's around 1 Meg, and includes 5
other programs (the page lies and
says 6 - but the browser was so
dodgy I removed it)

Over the next year I plan to break the
software suite up into individual
programs (on the basis that not many
people need a software suite with both
a text editor and ..periodic table)

>...That's
> my reason for loathing Flash and Java: when they are something
> worthwhile it's always such a hassle to save.


Java now offers Java Web-Start.
It offers a painless install for the user
(except for the 'you might die' security
warning that comes up when installing).

On the upside, program updates are
automatic, on the downside, even
Java developers have trouble finding
where the .jar files are actually installed.

> Pack it all into 100+ nested tables, I say. Then use:
>
> td table {
>  display: none
> }
> td:hover table {
>  display: table;
>  position: absolute;
>  z-index: 2;
> }
>
> - or something. Would be cool for one of those "this only works in
> Opera" demo pages.


;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Karl Smith

2004-02-19, 5:28 am

"Andrew Thompson" <SeeMySites@www.invalid> wrote:

> Karl Smith wrote:

>
> ???  Bit of a change of subject!
>
> Anyway, I had never bothered to set-up
> the periodic table _applet_ as an easy install,
> but you can get the application here..
http://www.physci.org/install/download.jsp


Not today. Java all crappy today. Can't get the page with the applet
to display, either.

So I've spent the last hour or so reviewing some available HTML
periodic tables and what a crappy bunch they are! The most appealing
(to look at) I've found so far is this:

http://www.dayah.com/periodic/

but it's a mess of JavaScript, font tags and rubbish underneath. And
I'm not certain the data is layed out correctly.

Shame 'bout the browser sniffing JavaScript that adds this admonition:
"Because of the complexity of this page, certain browsers may not
display it correctly. Your browser, Opera version 7.23, is
insufficient for viewing this page."
In IE6 it looks the same except for:
"Because of the complexity of this page, certain browsers may not
display it correctly. Your browser, Microsoft Internet Explorer
version 4.0, is sufficient for viewing this page."

Bugger that! I' gonna do my own pure CSS periodic table that ony works
in Opera.
Could you tell me what all those numbers mean and what the proper
layout for each element's data should be?
Andrew Thompson

2004-02-19, 6:28 am

Karl Smith wrote:
> "Andrew Thompson" <SeeMySites@www.invalid> wrote: 
....[color=blue] 
>
> Not today. Java all crappy today.


Are you extracting the urine, Karl?

I would have hoped for something more
informative from a person as familiar with
both usenet and web design as yourself!

In any case, on the assumpition you are not..

>..Can't get the page with the applet
> to display, either.


The URL you (originally) posted was an
old version of the page, you might have
better luck with this one.
http://www.physci.org/applet/ptoe.jsp

You can find the Java version checker here.
http://www.physci.org/codes/jre.jsp

It should allow you to ascertain if you
have the Java necessary for the applet
(it uses 1.4) however I find this rather
perplexing as you have apparently seen
the applet before.

> So I've spent the last hour or so reviewing some available HTML
> periodic tables and what a crappy bunch they are! The most appealing
> (to look at) I've found so far is this:


Thanks, no.  I have two.
(both being further developed)

Oh, and I think I trimmed some of your
questions down there, but I am waiting
to be convinced that you are really
interested, rather than having a laugh.    ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Michael Dayah

2004-02-19, 8:31 pm

Should've looked a little more carefully before damning it.

http://www.dayah.com/periodic/html4css.html

No font. No JavaScript. No rubbish. Enjoy.

Also, it was made before IE 6 came out, so I guess it is a shame about the
sniffing.

Warmly,
Michael Dayah


"Karl Smith" <google-2003-03@kjsmith.com> wrote in message
news:3d18d2.0402190107.5b2a4043@posting.google.com...
>
> Not today. Java all crappy today. Can't get the page with the applet
> to display, either.
>
> So I've spent the last hour or so reviewing some available HTML
> periodic tables and what a crappy bunch they are! The most appealing
> (to look at) I've found so far is this:
>
http://www.dayah.com/periodic/
>
> but it's a mess of JavaScript, font tags and rubbish underneath. And
> I'm not certain the data is layed out correctly.
>
> Shame 'bout the browser sniffing JavaScript that adds this admonition:
> "Because of the complexity of this page, certain browsers may not
> display it correctly. Your browser, Opera version 7.23, is
> insufficient for viewing this page."
> In IE6 it looks the same except for:
> "Because of the complexity of this page, certain browsers may not
> display it correctly. Your browser, Microsoft Internet Explorer
> version 4.0, is sufficient for viewing this page."
>
> Bugger that! I' gonna do my own pure CSS periodic table that ony works
> in Opera.
> Could you tell me what all those numbers mean and what the proper
> layout for each element's data should be?



Andrew Thompson

2004-02-19, 8:31 pm

Michael Dayah wrote:
> Should've looked a little more carefully before damning it.
>
http://www.dayah.com/periodic/html4css.html
>
> No font. No JavaScript. No rubbish. Enjoy.


Well, shucks!

If you were gonna resort to JS
for a periodic table, you could
have at least adjusted the tab
order to go by atomic number!

[ Nice table tho.    ;-)  ]

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology


Karl Smith

2004-02-20, 1:28 am

"Michael Dayah" <michael@dayah.com> wrote:

> Should've looked a little more carefully before damning it.
>
> http://www.dayah.com/periodic/html4css.html
>
> No font. No JavaScript. No rubbish. Enjoy.


So what does this bit do?

<a href="java script:element('Cobalt')">Cobalt</a>

Element 110 has a name now, too. "DamnStadium" or something, named to
honour the Sydney Olympic games, no doubt.
Karl Smith

2004-02-20, 5:29 am

"Andrew Thompson" <SeeMySites@www.invalid> wrote:
> Karl Smith wrote:
>
> Are you extracting the urine, Karl?
>
> I would have hoped for something more
> informative from a person as familiar with
> both usenet and web design as yourself!


Posting quickly. Had the horrible feeling the Blue Screen of Death was
coming. When I tried your download page it wouldn't work for me with
Opera, so I opened the page in MSIE. Then everything turned weird -
Opera and MSIE both trying to use Java simultaneously is apparently a
no-no. Had to reboot computer.


>
> Thanks, no. I have two.
> (both being further developed)


You could further develop by changing the symbol on element 110 from
"Uun" to "Ds" :-)


> Oh, and I think I trimmed some of your
> questions down there, but I am waiting
> to be convinced that you are really
> interested, rather than having a laugh. ;-)


Yeah, I'll start another thread with a more appropriate subject line,
perhaps. People might have the misapprehension there are comments on
your entity explorer here.
Karl Smith

2004-02-20, 5:29 am

"Andrew Thompson" <SeeMySites@www.invalid> wrote:
> Karl Smith wrote:
>
> Are you extracting the urine, Karl?
>
> I would have hoped for something more
> informative from a person as familiar with
> both usenet and web design as yourself!


Posting quickly. Had the horrible feeling the Blue Screen of Death was
coming. When I tried your download page it wouldn't work for me with
Opera, so I opened the page in MSIE. Then everything turned weird -
Opera and MSIE both trying to use Java simultaneously is apparently a
no-no. Had to reboot computer.


>
> Thanks, no. I have two.
> (both being further developed)


You could further develop by changing the symbol on element 110 from
"Uun" to "Ds" :-)


> Oh, and I think I trimmed some of your
> questions down there, but I am waiting
> to be convinced that you are really
> interested, rather than having a laugh. ;-)


Yeah, I'll start another thread with a more appropriate subject line,
perhaps. People might have the misapprehension there are comments on
your entity explorer here.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews