RE: extended ASCII in Javascript(was"Re: Netscape loses layer sta tus and style info - solved")

by Chuck Evans <Chucke(at)captura.com>

 Date:  Thu, 18 Jan 2001 13:20:05 -0800
 To:  =?iso-8859-1?Q?=27Mikael_Bystr=F6m=27?= <sunergy(at)mac.com>,
Romek Zylla <zylla(at)ck-sg.p.lodz.pl>
 Cc:  hwg tech <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Try using the characters themselves, by either using the Character Map =
on
the PC or by holding down the ALT key, then typing the ascii number
(four-digit) on the numeric keypad (numlock must be on).

=D6 is ALT+0214
=F6 is ALT+0246

I don't know how you'd do this on a Mac. But I do know that these =
characters
are supported in NN and IE browsers, both PC and Mac, back at least =
until
NN3 and IE4.

Chuck Evans
Captura, Inc.=20
(425) 803-6455=20
http://www.captura.com

-----Original Message-----
From: Mikael Bystr=F6m [mailto:sunergy(at)mac.com]

Romek Zylla zylla(at)ck-sg.p.lodz.pl did eloquently put it this way on=20
01-01-18 22.19

>   d)  you can use  &ouml;  or &Ouml;  everytime
You can't use this in JAVASCRIPT. These are HTML entities and don't =
seem=20
work in scripts. If they work for you tell me *exactly* how you did =
that.
>2) if your question is how browser handles it, then:
>   b) you can use extended characters in strings;
>      they will be displayed according to your page charset
>      or default charset- which is iso-8859-1
This is my problem. What chars should I use so they work in every =
browser=20
on every platform.=20
>   c) for some browsers you can override default settings
>      and then browser will display characters the way it is set
>      in your browser
In javascript as well? How do you set this?
>   d) beware of the font tag - it can override other settings.
This is HTML, not Javascript.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.