summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2012-04-20 10:17:43 +0000
committerUrban Müller2012-04-20 10:17:43 +0000
commit177de5290677a71fe95e5264f1f21fad9cc7c469 (patch)
tree8c10c18c7b310c0f831629b08af513b4b0d15784 /it.class
parent4de9c124f28b2f17b7b5b571fb4a1be81bfbbdc8 (diff)
downloaditools-177de5290677a71fe95e5264f1f21fad9cc7c469.tar.gz
itools-177de5290677a71fe95e5264f1f21fad9cc7c469.tar.bz2
itools-177de5290677a71fe95e5264f1f21fad9cc7c469.zip
any2utf8 quote fix and test
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 5ff09fd..b84c740 100644
--- a/it.class
+++ b/it.class
@@ -415,7 +415,7 @@ function any2utf8($value)
if (grapheme_strlen($value) === null)
$value = utf8_encode($value);
- return preg_replace('/\xc3\x83\xc2([\xbc\xa9\xa4\xb6\xa8\xa2\xa0\xb4\xaa\xa7\x84\xab\xae\x9c\xaf\x96\xb2\xbb\xb9\x9f])/', '\xc3$1', $value); # fix most common double encodings, UTF8SAFE
+ return preg_replace('/\xc3\x83\xc2([\xbc\xa9\xa4\xb6\xa8\xa2\xa0\xb4\xaa\xa7\x84\xab\xae\x9c\xaf\x96\xb2\xbb\xb9\x9f])/', "\xc3\$1", $value); # fix most common double encodings, UTF8SAFE
}
/**