[wp-cvs] wordpress/wp-includes functions-formatting.php,1.46,1.47

Ryan Boren rboren at users.sourceforge.net
Thu Dec 9 00:16:37 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32160/wp-includes

Modified Files:
	functions-formatting.php 
Log Message:
Comment the unicode blocks.

Index: functions-formatting.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** functions-formatting.php	7 Dec 2004 20:09:46 -0000	1.46
--- functions-formatting.php	9 Dec 2004 00:16:33 -0000	1.47
***************
*** 132,136 ****
  function remove_accents($string) {
  	if (seems_utf8($string)) {
! 		$chars = array(chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
  									 chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
  									 chr(195).chr(132) => 'A', chr(195).chr(133) => 'A',
--- 132,137 ----
  function remove_accents($string) {
  	if (seems_utf8($string)) {
! 		$chars = array(// Decompositions for Latin-1 Supplement
! 									 chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
  									 chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
  									 chr(195).chr(132) => 'A', chr(195).chr(133) => 'A',
***************
*** 159,165 ****
--- 160,169 ----
  									 chr(195).chr(187) => 'u', chr(195).chr(188) => 'u',
  									 chr(195).chr(189) => 'y', chr(195).chr(191) => 'y',
+ 									 // Decompositions for Latin Extended-A
+ 									 // TODO: Finish me.
  									 chr(197).chr(146) => 'OE', chr(197).chr(147) => 'oe',
  									 chr(197).chr(160) => 'S', chr(197).chr(161) => 's',
  									 chr(197).chr(189) => 'Z', chr(197).chr(190) => 'z',
+ 									 // Euro Sign
  									 chr(226).chr(130).chr(172) => 'E');
  




More information about the cvs mailing list