On Fri, October 6, 2006 8:37 am, tedd wrote: > At 7:11 PM -0700 10/5/06, Robbert van Andel wrote: >>I know it's Unicode because the javascript is encoding it as Unicode >> (and >>it's doing so correctly). I guess the gist of my question is how to >> do I do >>a reverse. How do I take %u2022 and get make that display as the >> bullet >>character? > > Robbert: > > To display it in a browser, convert the number to DEC (2022->8226) and > use: > > • > > I thought there was a way to use HEX directly, but can't find the > reference at the moment (if there is one). http://php.net/hexdec But • is almost-for-sure *ONLY* going to "look right" on MS IE. Because *only* MS IE uses the double-secret Microsoft decoder ring for 8226 to be what MS Word thinks it is. Everybody else is using a standards-based conversion... So your page will "look fine" in IE, but everybody else will see all kinds of goofy characters. Test it and see -- I could be wrong... -- 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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php