aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/utf8.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:14:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:14:54 -0300
commit46e32815aaad22553cf3001a797efb8d1bf7a3f3 (patch)
tree2f01eff8b93ca2fff456cfc2c5881850d0a25dc7 /src/SemanticScuttle/utf8.php
parentdd5335583618235ec9df212f0c3a80277955dc7d (diff)
parent01ebd549e71c82f3df2a7663255001b7c5521aca (diff)
downloadsemanticscuttle-46e32815aaad22553cf3001a797efb8d1bf7a3f3.tar.gz
semanticscuttle-46e32815aaad22553cf3001a797efb8d1bf7a3f3.tar.bz2
Merge branch 'master' into develop
Diffstat (limited to 'src/SemanticScuttle/utf8.php')
-rw-r--r--src/SemanticScuttle/utf8.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/SemanticScuttle/utf8.php b/src/SemanticScuttle/utf8.php
index 9ef8113..810c50c 100644
--- a/src/SemanticScuttle/utf8.php
+++ b/src/SemanticScuttle/utf8.php
@@ -42,18 +42,6 @@ function utf8_decodeFN($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
*
* @author <bmorel@ssi.fr>