diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-08-30 20:12:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-08-30 20:12:31 -0300 |
commit | 01ebd549e71c82f3df2a7663255001b7c5521aca (patch) | |
tree | fe11d016b535b4f886c8c685eb5847b7eca5764d /src/SemanticScuttle/utf8.php | |
parent | 2c11bf33b106fba2ea510a2aef53067633800ed3 (diff) | |
parent | 7e5536c3f641567143b31fb9f54468184083ebce (diff) | |
download | semanticscuttle-01ebd549e71c82f3df2a7663255001b7c5521aca.tar.gz semanticscuttle-01ebd549e71c82f3df2a7663255001b7c5521aca.tar.bz2 |
Diffstat (limited to 'src/SemanticScuttle/utf8.php')
-rw-r--r-- | src/SemanticScuttle/utf8.php | 12 |
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> |