https://bugzilla.wikimedia.org/show_bug.cgi?id=29763

--- Comment #1 from Alan Fang <[email protected]> 2011-07-08 15:53:22 UTC 
---
The problem has been fix by adding an escape sequence at the print out
function.
It turns out that the postgres will not do the escape automatically and you
have to use pg_unescape_bytea() function to do it yourself. The fix is:
  1.open the SMW_QueryPrinter.php contain in the semantic mediawiki includes
folder

  2.in getResult() function(line 129), add the following line at the end:

  $result = pg_unescape_bytea($result);


  for more information, please refer to
http://php.net/manual/en/function.pg-unescape-bytea.php

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to