Author: benj
Date: Thu Sep 15 15:00:52 2016
New Revision: 1743

URL: http://svn.gna.org/viewcvs/gdtc?rev=1743&view=rev
Log:
Do not decode already decoded utf-8, allowing accents in search terms


Modified:
    trunk/gdtc/xml.php

Modified: trunk/gdtc/xml.php
URL: 
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/xml.php?rev=1743&r1=1742&r2=1743&view=diff
==============================================================================
--- trunk/gdtc/xml.php  (original)
+++ trunk/gdtc/xml.php  Thu Sep 15 15:00:52 2016
@@ -70,7 +70,7 @@
 
 //header ( 'Content-Type: text/xml;charset=utf-8' );
 if ( isset ( $http_args [ 'term' ] ) ) {
-  $start = utf8_decode ( $http_args [ 'term' ] );
+  $start = $http_args [ 'term' ];
  } else {
   $start = "";
  }


_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits

Reply via email to