Selaa lähdekoodia

clean up code commented out since 8 y

Thijs Kinkhorst 12 vuotta sitten
vanhempi
commit
67336076f6

+ 0 - 1
functions/encode/cp1251.php

@@ -23,7 +23,6 @@ function charset_encode_cp1251 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1251('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1251(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/cp1255.php

@@ -23,7 +23,6 @@ function charset_encode_cp1255 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1255('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1255(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/cp1256.php

@@ -23,7 +23,6 @@ function charset_encode_cp1256 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetocp1256('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetocp1256(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/iso_8859_1.php

@@ -23,7 +23,6 @@ function charset_encode_iso_8859_1 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88591('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88591(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/iso_8859_15.php

@@ -23,7 +23,6 @@ function charset_encode_iso_8859_15 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso885915('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso885915(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/iso_8859_2.php

@@ -23,7 +23,6 @@ function charset_encode_iso_8859_2 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88592('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88592(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/iso_8859_7.php

@@ -23,7 +23,6 @@ function charset_encode_iso_8859_7 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88597('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88597(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/iso_8859_9.php

@@ -23,7 +23,6 @@ function charset_encode_iso_8859_9 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoiso88599('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoiso88599(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/koi8_r.php

@@ -23,7 +23,6 @@ function charset_encode_koi8_r ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetokoi8r('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetokoi8r(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/koi8_u.php

@@ -23,7 +23,6 @@ function charset_encode_koi8_u ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetokoi8u('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetokoi8u(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/tis_620.php

@@ -23,7 +23,6 @@ function charset_encode_tis_620 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetotis620('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetotis620(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/us_ascii.php

@@ -23,7 +23,6 @@ function charset_encode_us_ascii ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetousascii('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetousascii(hexdec('\\1'))",$string);
 
     return $string;
 }

+ 0 - 1
functions/encode/utf_8.php

@@ -27,7 +27,6 @@ function charset_encode_utf_8 ($string) {
    if (! preg_match("'&#[0-9]+;'",$string) ) return $string;
 
     $string=preg_replace("/&#([0-9]+);/e","unicodetoutf8('\\1')",$string);
-    // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetoutf8(hexdec('\\1'))",$string);
 
     return $string;
 }