Ticket #37564: 37564.patch
File 37564.patch, 2.8 KB (added by , 9 years ago) |
---|
-
src/wp-includes/formatting.php
1279 1279 * | U+0146 | ņ | n | Latin small letter n with cedilla | 1280 1280 * | U+0147 | Ň | N | Latin capital letter N with caron | 1281 1281 * | U+0148 | ň | n | Latin small letter n with caron | 1282 * | U+0149 | ʼn | N| Latin small letter n preceded by apostrophe |1283 * | U+014A | Ŋ | n| Latin capital letter Eng |1284 * | U+014B | ŋ | N| Latin small letter Eng |1282 * | U+0149 | ʼn | n | Latin small letter n preceded by apostrophe | 1283 * | U+014A | Ŋ | N | Latin capital letter Eng | 1284 * | U+014B | ŋ | n | Latin small letter Eng | 1285 1285 * | U+014C | Ō | O | Latin capital letter O with macron | 1286 1286 * | U+014D | ō | o | Latin small letter o with macron | 1287 1287 * | U+014E | Ŏ | O | Latin capital letter O with breve | … … 1572 1572 chr(197).chr(130) => 'l', chr(197).chr(131) => 'N', 1573 1573 chr(197).chr(132) => 'n', chr(197).chr(133) => 'N', 1574 1574 chr(197).chr(134) => 'n', chr(197).chr(135) => 'N', 1575 chr(197).chr(136) => 'n', chr(197).chr(137) => ' N',1576 chr(197).chr(138) => ' n', chr(197).chr(139) => 'N',1575 chr(197).chr(136) => 'n', chr(197).chr(137) => 'n', 1576 chr(197).chr(138) => 'N', chr(197).chr(139) => 'n', 1577 1577 chr(197).chr(140) => 'O', chr(197).chr(141) => 'o', 1578 1578 chr(197).chr(142) => 'O', chr(197).chr(143) => 'o', 1579 1579 chr(197).chr(144) => 'O', chr(197).chr(145) => 'o', -
tests/phpunit/tests/formatting/RemoveAccents.php
20 20 21 21 public function test_remove_accents_latin_extended_a() { 22 22 $input = 'ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſ'; 23 $output = 'AaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIJijJjKkkLlLlLlLlLlNnNnNn NnNOoOoOoOEoeRrRrRrSsSsSsSsTtTtTtUuUuUuUuUuUuWwYyYZzZzZzs';23 $output = 'AaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIJijJjKkkLlLlLlLlLlNnNnNnnNnOoOoOoOEoeRrRrRrSsSsSsSsTtTtTtUuUuUuUuUuUuWwYyYZzZzZzs'; 24 24 25 25 $this->assertEquals( $output, remove_accents( $input ), 'remove_accents replaces Latin Extended A' ); 26 26 }