]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Remove unused function that broke pages.
authorJason <jasonmm.github@gmail.com>
Tue, 21 Jun 2022 23:50:01 +0000 (18:50 -0500)
committerJason <jasonmm.github@gmail.com>
Tue, 21 Jun 2022 23:56:02 +0000 (18:56 -0500)
src/SemanticScuttle/utf8.php

index 9ef811388274fb7dbb0c1bf2ea1e0a022b9968fd..810c50c5fa08e1c923e7286b8382c92e1babedc1 100644 (file)
@@ -41,18 +41,6 @@ function utf8_decodeFN($file){
   return $file;
 }
 
-/**
- * Checks if a string contains 7bit ASCII only
- *
- * @author Andreas Gohr <andi@splitbrain.org>
- */
-function utf8_isASCII($str){
-  for($i=0; $i<strlen($str); $i++){
-    if(ord($str{$i}) >127) return false;
-  }
-  return true;
-}
-
 /**
  * Tries to detect if a string is in Unicode encoding
  *