aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/utf8.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:12:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-08-30 20:12:31 -0300
commit01ebd549e71c82f3df2a7663255001b7c5521aca (patch)
treefe11d016b535b4f886c8c685eb5847b7eca5764d /src/SemanticScuttle/utf8.php
parent2c11bf33b106fba2ea510a2aef53067633800ed3 (diff)
parent7e5536c3f641567143b31fb9f54468184083ebce (diff)
downloadsemanticscuttle-master.tar.gz
semanticscuttle-master.tar.bz2
Merge branch 'master' of github.com:rhatto/SemanticScuttleHEADmaster
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>