I've noticed Django has this:
http://code.google.com/p/typogrify/

Basically it's for like prettying up articles by using proper ampersands, quote marks, dashes and such. Its not like htmlentities or anything it doesn't use prime marks for quotes and such, it makes them the curly ones.

I'm hoping PHP has something like this or perhaps someone has made a class for this, I searched Google but couldnt find anything.

    Actually, if you view the source of the sample page, all it is doing is using CSS along with <span> tags and HTML character entities:

      <div class="fixed">
    
    <h2><span class="dquo"></span>Jayhawks<span class="amp">&amp;</span> 
    <span class="caps">KU</span> fans act extremely&nbsp;obnoxiously</h2>
        <p>By <span class="caps">J.D.</span> Salinger, Lorem ipsum dolor sit amet, 
    consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore 
    magna aliqua. &ldquo;Excepteur sint occaecat &lsquo;cupidatat&rsquo; non 
    proident&rdquo; sunt <span class="caps">RFID22</span> in&hellip;. </p>
    
      </div>
    

    And it uses this style block:

      <style type="text/css" media="screen">
        /* ------ demo display css ------*/
    
    body { padding: 18px 45px; }
      #page { width: 550px; }
    
      h2 {font-family:georgia; font-weight:normal; }
    
    
    .caps {font-size:.92em;}
    .amp {color:#666; font-size:1.05em;font-family:"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua",serif; font-style:italic;}    
    .dquo {margin-left:-.38em;}
    
    div.about {background:#ddd; padding:1em; margin-bottom:1em;}
    .about h1 {font-size:1.3em; border-bottom:1px solid #bbb; margin:0 0 4px 0; padding:0 0 4px 0; line-height:1;}
    .about p { margin:0;}
      </style>
    
      Write a Reply...