mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
bug 2900: Improve web service output
git-svn-id: http://piwigo.org/svn/trunk@22729 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -174,14 +174,6 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Returns true if the string appears to be encoded in UTF-8. (from wordpress)
|
||||
* @param string Str
|
||||
*/
|
||||
function seems_utf8($Str) {
|
||||
// OBSOLETE !!!
|
||||
return qualify_utf8($Str) >= 0;
|
||||
}
|
||||
|
||||
/* returns 0 if $str is Ascii, 1 if utf-8, -1 otherwise */
|
||||
function qualify_utf8($Str)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user