aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason <jasonmm.github@gmail.com>2022-06-21 18:50:01 -0500
committerJason <jasonmm.github@gmail.com>2022-06-21 18:56:02 -0500
commit8726754cb10f5c8db09f7012574450907af97cfa (patch)
tree6864121f35e2f2ba9fd06cc1fb096671ace5e6fa
parentdea9c9350ea4f60396dcced14bd7624040dda36c (diff)
downloadsemanticscuttle-8726754cb10f5c8db09f7012574450907af97cfa.tar.gz
semanticscuttle-8726754cb10f5c8db09f7012574450907af97cfa.tar.bz2
Remove unused function that broke pages.
-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>