<!-- searchform -->
<?php Plugins::act( 'theme_searchform_before' ); ?>
     <form method="get" id="searchform" action="<?php URL::out('search'); ?>">
      <p><input type="text" id="s" name="criteria" value="<?php if ( isset( $criteria ) ) { echo htmlentities(utf8_decode($criteria)); } ?>"> <input type="submit" id="searchsubmit" value="Go!"></p>
     </form>
<?php Plugins::act( 'theme_searchform_after' ); ?>
<!-- /searchform -->

<!-- searchform -->
<?php Plugins::act( 'theme_searchform_before' ); ?>
     <form method="get" id="searchform" action="<?php URL::out('search'); ?>">
      <p><input type="text" id="s" name="criteria" value="<?php if ( isset( $criteria ) ) { echo htmlentities($criteria, ENT_COMPAT, 'UTF-8'); } ?>"> <input type="submit" id="searchsubmit" value="Go!"></p>
     </form>
<?php Plugins::act( 'theme_searchform_after' ); ?>
<!-- /searchform -->

Fix the invalid characters shown in search form of K2 for mulit-byte characters.
Fix the invalid characters shown in search form of K2 for mulit-byte characters.


git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@923 653ae4dd-d31e-0410-96ef-6bf7bf53c507
