Make WordPress Core

Ticket #9591: 9591.30.diff

File 9591.30.diff, 600 bytes (added by jose.geraldo, 14 years ago)

correcting ordinal characters in portuguese and spanish langiuages slug urls

  • formatting.php

     
    546546
    547547        if (seems_utf8($string)) {
    548548                $chars = array(
     549                // Special ordinals
     550                chr(194).chr(170) => 'a', chr(194).chr(176) => 'o', chr(194).chr(186) => 'o',
     551                // Special ordinals
     552                chr(194).chr(170) => 'a', chr(194).chr(176) => 'o', chr(194).chr(186) => 'o',
    549553                // Decompositions for Latin-1 Supplement
    550554                chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
    551555                chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',