RE: [PHP] Unicode Problem



On Fri, October 6, 2006 12:29 pm, tedd wrote:
No, that's not what I meant. I know how to convert DEC <-> HEX.

What I was talking about is called a NCRs, or Numeric Character
References

One could use the Unicode DEC value directly, such as:

&#8226;

or the Unicode HEX value directly, such as:

&#x2002;
I think you meant x2022 a.k.a. (dec)8226 :-)

8226 or x2022 is the same number, so whatever it is, it should work
the same.

And maybe those will work the same as &bull; on all modern browser now.

But that was not my experience in the past.

Perhaps you would care to extend your browsercam test to some
regression testing of more ancient browsers -- on Mac OS.

Note, either will produce a bullet in most browsers.

But &#8226; is almost-for-sure *ONLY* going to "look right" on MS IE.

Not true, for most (and all most current) browsers do render that
glyph correctly (other glyphs may vary), please review:

http://www.browsercam.com/public.aspx?proj_id=289683

The first bullet is &149; (same as ALT 0149 on the windoze keyboard).

The second is &#8226; and third is &#x2002;

Note all three produce a bullet -- oh and don't forget &bull;, which
will produce the same result.

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Re: Apache unicode question
    ... > been created for the server use unicode characters. ... > come up correctly in some browsers, ... > have exented unicode encodings - all the others are straight ascii. ... The chars mentioned are rendered differently by my browser (Konqueror ...
    (comp.os.linux.misc)
  • Re: An APL Archive
    ... Morten -- are those glitches down to the browsers, ... "Full Unicode ... our goal will be to be as compatible as possible with what other APL ... This format was designed for Insight Systems more than 10 ...
    (comp.lang.apl)
  • Re: Best encoding for a Japanese web site to deliver?
    ... and the prophet was numbered among those called bobdc. ... Is there any down side to shipping Unicode, ... > than problems with older browsers? ... "Tautologizm to coś tautologicznego" ...
    (sci.lang.japan)
  • Re: Best encoding for a Japanese web site to deliver?
    ... > encoding a web server that delivers Japanese content should send to ... Is there any down side to shipping Unicode, ... > other than problems with older browsers? ... instead of the Japanese font instead. ...
    (sci.lang.japan)
  • Re: [PHP] Re: RewriteRules
    ... so I don't see a reason why any new browsers wouldn't ... <?PHP ... Jason Pruim ...
    (php.general)