Selaa lähdekoodia

[sluggable] improved transliteration of slug generation for other language specific characters. added possibility to set custom transliteration callable

gediminasm 14 vuotta sitten
vanhempi
commit
b246bef8ab
100 muutettua tiedostoa jossa 672 lisäystä ja 2 poistoa
  1. 22 1
      lib/Gedmo/Sluggable/AbstractSluggableListener.php
  2. 263 1
      lib/Gedmo/Sluggable/Util/Urlizer.php
  3. BIN
      lib/Gedmo/Sluggable/Util/data/x00.php
  4. 4 0
      lib/Gedmo/Sluggable/Util/data/x01.php
  5. 4 0
      lib/Gedmo/Sluggable/Util/data/x02.php
  6. 4 0
      lib/Gedmo/Sluggable/Util/data/x03.php
  7. 4 0
      lib/Gedmo/Sluggable/Util/data/x04.php
  8. 4 0
      lib/Gedmo/Sluggable/Util/data/x05.php
  9. 4 0
      lib/Gedmo/Sluggable/Util/data/x06.php
  10. 4 0
      lib/Gedmo/Sluggable/Util/data/x07.php
  11. 4 0
      lib/Gedmo/Sluggable/Util/data/x09.php
  12. 4 0
      lib/Gedmo/Sluggable/Util/data/x0a.php
  13. 4 0
      lib/Gedmo/Sluggable/Util/data/x0b.php
  14. 4 0
      lib/Gedmo/Sluggable/Util/data/x0c.php
  15. 4 0
      lib/Gedmo/Sluggable/Util/data/x0d.php
  16. 4 0
      lib/Gedmo/Sluggable/Util/data/x0e.php
  17. 4 0
      lib/Gedmo/Sluggable/Util/data/x0f.php
  18. 4 0
      lib/Gedmo/Sluggable/Util/data/x10.php
  19. 4 0
      lib/Gedmo/Sluggable/Util/data/x11.php
  20. 4 0
      lib/Gedmo/Sluggable/Util/data/x12.php
  21. 4 0
      lib/Gedmo/Sluggable/Util/data/x13.php
  22. 4 0
      lib/Gedmo/Sluggable/Util/data/x14.php
  23. 4 0
      lib/Gedmo/Sluggable/Util/data/x15.php
  24. 4 0
      lib/Gedmo/Sluggable/Util/data/x16.php
  25. 4 0
      lib/Gedmo/Sluggable/Util/data/x17.php
  26. 4 0
      lib/Gedmo/Sluggable/Util/data/x18.php
  27. 4 0
      lib/Gedmo/Sluggable/Util/data/x1e.php
  28. 4 0
      lib/Gedmo/Sluggable/Util/data/x1f.php
  29. 4 0
      lib/Gedmo/Sluggable/Util/data/x20.php
  30. 4 0
      lib/Gedmo/Sluggable/Util/data/x21.php
  31. 4 0
      lib/Gedmo/Sluggable/Util/data/x22.php
  32. 4 0
      lib/Gedmo/Sluggable/Util/data/x23.php
  33. 4 0
      lib/Gedmo/Sluggable/Util/data/x24.php
  34. 4 0
      lib/Gedmo/Sluggable/Util/data/x25.php
  35. 7 0
      lib/Gedmo/Sluggable/Util/data/x26.php
  36. 4 0
      lib/Gedmo/Sluggable/Util/data/x27.php
  37. 4 0
      lib/Gedmo/Sluggable/Util/data/x28.php
  38. 4 0
      lib/Gedmo/Sluggable/Util/data/x2e.php
  39. 4 0
      lib/Gedmo/Sluggable/Util/data/x2f.php
  40. 4 0
      lib/Gedmo/Sluggable/Util/data/x30.php
  41. 4 0
      lib/Gedmo/Sluggable/Util/data/x31.php
  42. 4 0
      lib/Gedmo/Sluggable/Util/data/x32.php
  43. 4 0
      lib/Gedmo/Sluggable/Util/data/x33.php
  44. 4 0
      lib/Gedmo/Sluggable/Util/data/x4d.php
  45. 4 0
      lib/Gedmo/Sluggable/Util/data/x4e.php
  46. 4 0
      lib/Gedmo/Sluggable/Util/data/x4f.php
  47. 4 0
      lib/Gedmo/Sluggable/Util/data/x50.php
  48. 4 0
      lib/Gedmo/Sluggable/Util/data/x51.php
  49. 4 0
      lib/Gedmo/Sluggable/Util/data/x52.php
  50. 4 0
      lib/Gedmo/Sluggable/Util/data/x53.php
  51. 4 0
      lib/Gedmo/Sluggable/Util/data/x54.php
  52. 4 0
      lib/Gedmo/Sluggable/Util/data/x55.php
  53. 4 0
      lib/Gedmo/Sluggable/Util/data/x56.php
  54. 4 0
      lib/Gedmo/Sluggable/Util/data/x57.php
  55. 4 0
      lib/Gedmo/Sluggable/Util/data/x58.php
  56. 4 0
      lib/Gedmo/Sluggable/Util/data/x59.php
  57. 4 0
      lib/Gedmo/Sluggable/Util/data/x5a.php
  58. 4 0
      lib/Gedmo/Sluggable/Util/data/x5b.php
  59. 4 0
      lib/Gedmo/Sluggable/Util/data/x5c.php
  60. 4 0
      lib/Gedmo/Sluggable/Util/data/x5d.php
  61. 4 0
      lib/Gedmo/Sluggable/Util/data/x5e.php
  62. 4 0
      lib/Gedmo/Sluggable/Util/data/x5f.php
  63. 4 0
      lib/Gedmo/Sluggable/Util/data/x60.php
  64. 4 0
      lib/Gedmo/Sluggable/Util/data/x61.php
  65. 4 0
      lib/Gedmo/Sluggable/Util/data/x62.php
  66. 4 0
      lib/Gedmo/Sluggable/Util/data/x63.php
  67. 4 0
      lib/Gedmo/Sluggable/Util/data/x64.php
  68. 4 0
      lib/Gedmo/Sluggable/Util/data/x65.php
  69. 4 0
      lib/Gedmo/Sluggable/Util/data/x66.php
  70. 4 0
      lib/Gedmo/Sluggable/Util/data/x67.php
  71. 4 0
      lib/Gedmo/Sluggable/Util/data/x68.php
  72. 4 0
      lib/Gedmo/Sluggable/Util/data/x69.php
  73. 4 0
      lib/Gedmo/Sluggable/Util/data/x6a.php
  74. 4 0
      lib/Gedmo/Sluggable/Util/data/x6b.php
  75. 4 0
      lib/Gedmo/Sluggable/Util/data/x6c.php
  76. 4 0
      lib/Gedmo/Sluggable/Util/data/x6d.php
  77. 4 0
      lib/Gedmo/Sluggable/Util/data/x6e.php
  78. 4 0
      lib/Gedmo/Sluggable/Util/data/x6f.php
  79. 4 0
      lib/Gedmo/Sluggable/Util/data/x70.php
  80. 4 0
      lib/Gedmo/Sluggable/Util/data/x71.php
  81. 4 0
      lib/Gedmo/Sluggable/Util/data/x72.php
  82. 4 0
      lib/Gedmo/Sluggable/Util/data/x73.php
  83. 4 0
      lib/Gedmo/Sluggable/Util/data/x74.php
  84. 4 0
      lib/Gedmo/Sluggable/Util/data/x75.php
  85. 4 0
      lib/Gedmo/Sluggable/Util/data/x76.php
  86. 4 0
      lib/Gedmo/Sluggable/Util/data/x77.php
  87. 4 0
      lib/Gedmo/Sluggable/Util/data/x78.php
  88. 4 0
      lib/Gedmo/Sluggable/Util/data/x79.php
  89. 4 0
      lib/Gedmo/Sluggable/Util/data/x7a.php
  90. 4 0
      lib/Gedmo/Sluggable/Util/data/x7b.php
  91. 4 0
      lib/Gedmo/Sluggable/Util/data/x7c.php
  92. 4 0
      lib/Gedmo/Sluggable/Util/data/x7d.php
  93. 4 0
      lib/Gedmo/Sluggable/Util/data/x7e.php
  94. 4 0
      lib/Gedmo/Sluggable/Util/data/x7f.php
  95. 4 0
      lib/Gedmo/Sluggable/Util/data/x80.php
  96. 4 0
      lib/Gedmo/Sluggable/Util/data/x81.php
  97. 4 0
      lib/Gedmo/Sluggable/Util/data/x82.php
  98. 4 0
      lib/Gedmo/Sluggable/Util/data/x83.php
  99. 4 0
      lib/Gedmo/Sluggable/Util/data/x84.php
  100. 0 0
      lib/Gedmo/Sluggable/Util/data/x85.php

+ 22 - 1
lib/Gedmo/Sluggable/AbstractSluggableListener.php

@@ -27,6 +27,27 @@ abstract class AbstractSluggableListener extends MappedEventSubscriber
      */
     private $exponent = 0;
     
+    /**
+     * Transliteration callback for slugs
+     * 
+     * @var array
+     */
+    private $transliterator = array('Gedmo\Sluggable\Util\Urlizer', 'urlize');
+    
+    /**
+     * Set the transliteration callable method
+     * to transliterate slugs
+     * 
+     * @param mixed $callable
+     */
+    public function setTransliterator($callable)
+    {
+        if (!is_callable($callable)) {
+            throw new \Gedmo\Exception\InvalidArgumentException('Invalid transliterator callable parameter given');
+        }
+        $this->transliterator = $callable;
+    }
+    
     /**
      * Get the ObjectManager from EventArgs
      *
@@ -179,7 +200,7 @@ abstract class AbstractSluggableListener extends MappedEventSubscriber
         
         // build the slug
         $slug = call_user_func_array(
-            array('Gedmo\Sluggable\Util\Urlizer', 'urlize'), 
+            $this->transliterator, 
             array($slug, $config['separator'], $object)
         );
 

+ 263 - 1
lib/Gedmo/Sluggable/Util/Urlizer.php

@@ -10,6 +10,9 @@ namespace Gedmo\Sluggable\Util;
  * across several different php projects and several different authors. The
  * original author names and emails are not known
  *
+ * Uses 3rd party libraries and functions:
+ *         http://sourceforge.net/projects/phputf8
+ *
  * @package     Gedmo.Sluggable.Util
  * @subpackage  Urlizer
  * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
@@ -18,6 +21,7 @@ namespace Gedmo\Sluggable\Util;
  * @version     $Revision: 3189 $
  * @author      Konsta Vesterinen <kvesteri@cc.hut.fi>
  * @author      Jonathan H. Wage <jonwage@gmail.com>
+ * @author         <hsivonen@iki.fi>
  */
 class Urlizer
 {
@@ -190,6 +194,126 @@ class Urlizer
         return $string;
     }
 
+    /**
+     * Convert any passed string to a url friendly string
+     *
+     * @param  string $text  Text to urlize
+     * @return string $text  Urlized text
+     */
+    public static function _urlize($text, $separator = '-')
+    {
+        $clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $text);
+        $clean = strtolower(trim($clean, '-'));
+        $clean = preg_replace("/[\/_|+ -]+/", '-', $clean);
+        
+    }
+    
+    /**
+    * US-ASCII transliterations of Unicode text
+    * Ported Sean M. Burke's Text::Unidecode Perl module (He did all the hard work!)
+    * Warning: you should only pass this well formed UTF-8!
+    * Be aware it works by making a copy of the input string which it appends transliterated
+    * characters to - it uses a PHP output buffer to do this - it means, memory use will increase,
+    * requiring up to the same amount again as the input string
+    * 
+    * @see http://search.cpan.org/~sburke/Text-Unidecode-0.04/lib/Text/Unidecode.pm
+    * @param string UTF-8 string to convert
+    * @author <hsivonen@iki.fi>
+    * @param string (default = ?) Character use if character unknown
+    * @return string US-ASCII string
+    */
+    public static function utf8ToAscii($str, $unknown = '?') {
+        
+        # The database for transliteration stored here
+        static $UTF8_TO_ASCII = array();
+        
+        # Variable lookups faster than accessing constants
+        $UTF8_TO_ASCII_DB = __DIR__ . '/data';
+        
+        if (strlen($str) == 0) {
+            return '';
+        }
+        
+        $len = strlen($str);
+        $i = 0;
+        
+        # Use an output buffer to copy the transliterated string
+        # This is done for performance vs. string concatenation - on my system, drops
+        # the average request time for the example from ~0.46ms to 0.41ms
+        # See http://phplens.com/lens/php-book/optimizing-debugging-php.php
+        # Section  "High Return Code Optimizations"
+        ob_start();
+        
+        while ($i < $len) {
+            $ord = NULL;
+            $increment = 1;
+            
+            $ord0 = ord($str{$i});
+            
+            # Much nested if /else - PHP fn calls expensive, no block scope...
+            # 1 byte - ASCII
+            if ($ord0 >= 0 && $ord0 <= 127) {
+                $ord = $ord0;
+                $increment = 1;
+            } else {
+                # 2 bytes
+                $ord1 = ord($str{$i+1});
+                if ($ord0 >= 192 && $ord0 <= 223) {
+                    $ord = ($ord0 - 192) * 64 + ($ord1 - 128);
+                    $increment = 2;
+                } else {
+                    # 3 bytes
+                    $ord2 = ord($str{$i+2});
+                    if ($ord0 >= 224 && $ord0 <= 239) {
+                        $ord = ($ord0-224)*4096 + ($ord1-128)*64 + ($ord2-128);
+                        $increment = 3;
+                    } else {
+                        # 4 bytes
+                        $ord3 = ord($str{$i+3});
+                        if ($ord0>=240 && $ord0<=247) {
+                            $ord = ($ord0-240)*262144 + ($ord1-128)*4096 
+                                + ($ord2-128)*64 + ($ord3-128);
+                            $increment = 4;
+                        } else {
+                            ob_end_clean();
+                            throw new \Gedmo\Exception\UnexpectedValueException('Unidentified ut8 character was present, pure utf8 required');
+                        }
+                    }
+                }
+            }
+            
+            $bank = $ord >> 8;
+            
+            # If we haven't used anything from this bank before, need to load it...
+            if (!array_key_exists($bank, $UTF8_TO_ASCII)) {
+                $bankfile = $UTF8_TO_ASCII_DB. '/'. sprintf("x%02x", $bank).'.php';
+                
+                if (file_exists($bankfile)) {
+                    # Load the appropriate database
+                    if (!include $bankfile) {
+                        ob_end_clean();
+                        throw new \Gedmo\Exception\RuntimeException('Cannot find character bank file: ' . $bankfile);
+                    }
+                } else {
+                    # Some banks are deliberately empty
+                    $UTF8_TO_ASCII[$bank] = array();
+                }
+            }
+
+            $newchar = $ord & 255;            
+            if (array_key_exists($newchar, $UTF8_TO_ASCII[$bank])) {
+                echo $UTF8_TO_ASCII[$bank][$newchar];
+            } else {
+                echo $unknown;
+            }
+            $i += $increment;
+        }
+        
+        $str = ob_get_contents();
+        ob_end_clean();
+        return $str;
+    }
+    
     /**
      * Convert any passed string to a url friendly string. Converts 'My first blog post' to 'my-first-blog-post'
      *
@@ -199,7 +323,11 @@ class Urlizer
     public static function urlize($text, $separator = '-')
     {
         // Remove all non url friendly characters with the unaccent function
-        $text = self::unaccent($text);
+        if (self::validUtf8($text)) {
+            $text = self::utf8ToAscii($text);
+        } else {
+            $text = self::unaccent($text);
+        }
 
         if (function_exists('mb_strtolower')) {
             $text = mb_strtolower($text);
@@ -218,4 +346,138 @@ class Urlizer
 
         return trim($text, $separator);
     }
+    
+    /**
+    * Tests a string as to whether it's valid UTF-8 and supported by the
+    * Unicode standard
+    * Note: this function has been modified to simple return true or false
+    * @author <hsivonen@iki.fi>
+    * @param string UTF-8 encoded string
+    * @return boolean true if valid
+    * @see http://hsivonen.iki.fi/php-utf8/
+    */
+    public static function validUtf8($str) {
+        
+        $mState = 0;     // cached expected number of octets after the current octet
+                         // until the beginning of the next UTF8 character sequence
+        $mUcs4  = 0;     // cached Unicode character
+        $mBytes = 1;     // cached expected number of octets in the current sequence
+        
+        $len = strlen($str);
+        
+        for($i = 0; $i < $len; $i++) {
+            
+            $in = ord($str{$i});
+            
+            if ( $mState == 0) {
+                
+                // When mState is zero we expect either a US-ASCII character or a
+                // multi-octet sequence.
+                if (0 == (0x80 & ($in))) {
+                    // US-ASCII, pass straight through.
+                    $mBytes = 1;
+                    
+                } else if (0xC0 == (0xE0 & ($in))) {
+                    // First octet of 2 octet sequence
+                    $mUcs4 = ($in);
+                    $mUcs4 = ($mUcs4 & 0x1F) << 6;
+                    $mState = 1;
+                    $mBytes = 2;
+                    
+                } else if (0xE0 == (0xF0 & ($in))) {
+                    // First octet of 3 octet sequence
+                    $mUcs4 = ($in);
+                    $mUcs4 = ($mUcs4 & 0x0F) << 12;
+                    $mState = 2;
+                    $mBytes = 3;
+                    
+                } else if (0xF0 == (0xF8 & ($in))) {
+                    // First octet of 4 octet sequence
+                    $mUcs4 = ($in);
+                    $mUcs4 = ($mUcs4 & 0x07) << 18;
+                    $mState = 3;
+                    $mBytes = 4;
+                    
+                } else if (0xF8 == (0xFC & ($in))) {
+                    /* First octet of 5 octet sequence.
+                    *
+                    * This is illegal because the encoded codepoint must be either
+                    * (a) not the shortest form or
+                    * (b) outside the Unicode range of 0-0x10FFFF.
+                    * Rather than trying to resynchronize, we will carry on until the end
+                    * of the sequence and let the later error handling code catch it.
+                    */
+                    $mUcs4 = ($in);
+                    $mUcs4 = ($mUcs4 & 0x03) << 24;
+                    $mState = 4;
+                    $mBytes = 5;
+                    
+                } else if (0xFC == (0xFE & ($in))) {
+                    // First octet of 6 octet sequence, see comments for 5 octet sequence.
+                    $mUcs4 = ($in);
+                    $mUcs4 = ($mUcs4 & 1) << 30;
+                    $mState = 5;
+                    $mBytes = 6;
+                    
+                } else {
+                    /* Current octet is neither in the US-ASCII range nor a legal first
+                     * octet of a multi-octet sequence.
+                     */
+                    return FALSE;
+                    
+                }
+            
+            } else {
+                
+                // When mState is non-zero, we expect a continuation of the multi-octet
+                // sequence
+                if (0x80 == (0xC0 & ($in))) {
+                    
+                    // Legal continuation.
+                    $shift = ($mState - 1) * 6;
+                    $tmp = $in;
+                    $tmp = ($tmp & 0x0000003F) << $shift;
+                    $mUcs4 |= $tmp;
+                
+                    /**
+                    * End of the multi-octet sequence. mUcs4 now contains the final
+                    * Unicode codepoint to be output
+                    */
+                    if (0 == --$mState) {
+                        
+                        /*
+                        * Check for illegal sequences and codepoints.
+                        */
+                        // From Unicode 3.1, non-shortest form is illegal
+                        if (((2 == $mBytes) && ($mUcs4 < 0x0080)) ||
+                            ((3 == $mBytes) && ($mUcs4 < 0x0800)) ||
+                            ((4 == $mBytes) && ($mUcs4 < 0x10000)) ||
+                            (4 < $mBytes) ||
+                            // From Unicode 3.2, surrogate characters are illegal
+                            (($mUcs4 & 0xFFFFF800) == 0xD800) ||
+                            // Codepoints outside the Unicode range are illegal
+                            ($mUcs4 > 0x10FFFF)) {
+                            
+                            return FALSE;
+                            
+                        }
+                        
+                        //initialize UTF8 cache
+                        $mState = 0;
+                        $mUcs4  = 0;
+                        $mBytes = 1;
+                    }
+                
+                } else {
+                    /**
+                    *((0xC0 & (*in) != 0x80) && (mState != 0))
+                    * Incomplete multi-octet sequence.
+                    */
+                    
+                    return FALSE;
+                }
+            }
+        }
+        return TRUE;
+    }
 }

BIN
lib/Gedmo/Sluggable/Util/data/x00.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x01.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x02.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x03.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x04.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x05.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x06.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x07.php


+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x09.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x09] = array(
+
+);

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0a.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0b.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0c.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0d.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0e.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x0f.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x10.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x11.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x12.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x13.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x14.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x15.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x16.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x17.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x18.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x1e.php


+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x1f.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x1f] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x20.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x20] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x21.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x21] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x22.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x22] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x23.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x23] = array(
+
+);

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x24.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x25.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 7 - 0
lib/Gedmo/Sluggable/Util/data/x26.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x27.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x28.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x2e.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x2f.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x30.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x31.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x32.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x33.php


+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x4d.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x4d] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x4e.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x4e] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x4f.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x4f] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x50.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x50] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x51.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x51] = array(
+
+);

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x52.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x53.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x54.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x55.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x56.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x57.php


+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x58.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x58] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x59.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x59] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5a.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5a] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5b.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5b] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5c.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5c] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5d.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5d] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5e.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5e] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x5f.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x5f] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x60.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x60] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x61.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x61] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x62.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x62] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x63.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x63] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x64.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x64] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x65.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x65] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x66.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x66] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x67.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x67] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x68.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x68] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x69.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x69] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6a.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6a] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6b.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6b] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6c.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6c] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6d.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6d] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6e.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6e] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x6f.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x6f] = array(
+
+);

+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x70.php

@@ -0,0 +1,4 @@
+<?php
+$UTF8_TO_ASCII[0x70] = array(
+
+);

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x71.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x72.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x73.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x74.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x75.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x76.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x77.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x78.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x79.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7a.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7b.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7c.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7d.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7e.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x7f.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x80.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x81.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x82.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x83.php


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 4 - 0
lib/Gedmo/Sluggable/Util/data/x84.php


+ 0 - 0
lib/Gedmo/Sluggable/Util/data/x85.php


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä