projects
/
scuttle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
branches/version-0.7:
[scuttle]
/
ajaxGetTitle.php
diff --git
a/ajaxGetTitle.php
b/ajaxGetTitle.php
index 0bc142d154fd3f138bab7bf5dff1adbd544f007a..473fa59ba72d3183bbc595ae104bf4203aa95fdf 100644
(file)
--- a/
ajaxGetTitle.php
+++ b/
ajaxGetTitle.php
@@
-40,7
+40,7
@@
function getTitle($url) {
$encoding = strtoupper($matches[1][0]);
// Convert to UTF-8 from the original encoding
$encoding = strtoupper($matches[1][0]);
// Convert to UTF-8 from the original encoding
- if (function_exists('mb_convert_encoding') {
+ if (function_exists('mb_convert_encoding')
)
{
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
}
$title = @mb_convert_encoding($title, 'UTF-8', $encoding);
}
Benjamin Mako Hill
||
Want to submit a patch?