Permalink
Browse files

Merge branch 'master' of https://github.com/semsol/arc2

  • Loading branch information...
2 parents c774634 + ebd59b0 commit 209a6af10813caac3c6319a245eb89c462817713 @CloCkWeRX committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 serializers/ARC2_NTriplesSerializer.php
View
2 serializers/ARC2_NTriplesSerializer.php
@@ -104,7 +104,7 @@ function escape($v) {
// escape tabs and linefeeds
$v = str_replace(array("\t", "\r", "\n"), array('\t', '\r', '\n'), $v);
// escape non-ascii-chars
- $v = preg_replace_callback('/([[:^ascii:]]+)/', array($this, 'escapeChars'), $v);
+ $v = preg_replace_callback('/([^a-zA-Z0-9 \!\#\$\%\&\(\)\*\+\,\-\.\/\:\;\=\?\@\^\_\{\|\}]+)/', array($this, 'escapeChars'), $v);
return $v;
}

0 comments on commit 209a6af

Please sign in to comment.