| 1288 | |
| 1289 | public function test_remove_accents_vowels_diacritic() { |
| 1290 | $this->knownWPBug(17738); |
| 1291 | |
| 1292 | // Vowels with diacritic |
| 1293 | // unmarked |
| 1294 | $this->assertEquals( 'OoUu', remove_accents( 'ƠơƯư' ) ); |
| 1295 | // grave accent |
| 1296 | $this->assertEquals( 'AaAaEeOoOoUuYy', remove_accents( 'ẦầẰằỀềỒồỜờỪừỲỳ' ) ); |
| 1297 | // hook |
| 1298 | $this->assertEquals( 'AaAaAaEeEeIiOoOoOoUuUuYy', remove_accents( 'ẢảẨẩẲẳẺẻỂểỈỉỎỏỔổỞởỦủỬửỶỷ' ) ); |
| 1299 | // tilde |
| 1300 | $this->assertEquals( 'AaAaEeEeOoOoUuYy', remove_accents( 'ẪẫẴẵẼẽỄễỖỗỠỡỮữỸỹ' ) ); |
| 1301 | // acute accent |
| 1302 | $this->assertEquals( 'AaAaEeOoOoUu', remove_accents( 'ẤấẮắẾếỐốỚớỨứ' ) ); |
| 1303 | // dot below |
| 1304 | $this->assertEquals( 'AaAaAaEeEeIiOoOoOoUuUuYy', remove_accents( 'ẠạẬậẶặẸẹỆệỊịỌọỘộỢợỤụỰựỴỵ' ) ); |
| 1305 | } |