영원한사랑

http://oxtag.com/php/p/unicode/StringConversion.php

 

http://oxtag.com/php/p/utf8_encode.php

 

http://oxtag.com/php/p/unicode/unicode.php

 

http://oxtag.com/php/p/unicode/utf_unicode.php

 

<style>
temp20020232 tr,*{
font-family:Arial, Helvetica, sans-serif;
font-size:9pt;
}
</style>
<script>
function char_unicode(bool){
ta1 = document.getElementById('txt_char');
ta2 = document.getElementById('txt_unicode');
 if(bool)
 ta2.value = escape(ta1.value);
 else
 ta1.value = unescape(ta2.value);
}
</script>
<table  border="0" cellspacing="0" cellpadding="0" class="temp20020232">
  <tr>
    <td align="center"><strong>String</strong></td>
    <td align="center"><strong>Unicode</strong></td>
  </tr>
  <tr>
    <td align="center"><textarea name="txt_char" cols="40" rows="5" id="txt_char" ></textarea></td>
    <td align="center"><textarea name="txt_unicode" cols="40" rows="5" id="txt_unicode2" ></textarea></td>
  </tr>
  <tr align="center">
    <td align="center"><input type="button" name="Submit" value="escape(String)->Unicode" onClick="char_unicode(true);"></td>
    <td><input type="button" name="Submit2" value="unescape(Unicode)->String" onClick="char_unicode(false);"></td>
  </tr>
</table>