1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-07-31 18:50:16 +02:00

Don't replace @ in toAscii

This commit is contained in:
Daniel St. Jules
2017-04-12 11:09:07 -04:00
parent 9b6bddcb20
commit eb13cc35d6
2 changed files with 2 additions and 1 deletions

View File

@@ -1747,7 +1747,6 @@ class Stringy implements Countable, IteratorAggregate, ArrayAccess
'aa' => ['ع', 'आ', 'آ'], 'aa' => ['ع', 'आ', 'آ'],
'ae' => ['æ', 'ǽ'], 'ae' => ['æ', 'ǽ'],
'ai' => ['ऐ'], 'ai' => ['ऐ'],
'at' => ['@'],
'ch' => ['ч', 'ჩ', 'ჭ', 'چ'], 'ch' => ['ч', 'ჩ', 'ჭ', 'چ'],
'dj' => ['ђ', 'đ'], 'dj' => ['ђ', 'đ'],
'dz' => ['џ', 'ძ'], 'dz' => ['џ', 'ძ'],

View File

@@ -671,6 +671,7 @@ class StringyTestCase extends PHPUnit_Framework_TestCase
['f = z = 3', 'φ = ź = 3'], ['f = z = 3', 'φ = ź = 3'],
['perevirka', 'перевірка'], ['perevirka', 'перевірка'],
['lysaya gora', 'лысая гора'], ['lysaya gora', 'лысая гора'],
['user@host', 'user@host'],
['shchuka', 'щука'], ['shchuka', 'щука'],
['', '漢字'], ['', '漢字'],
['xin chao the gioi', 'xin chào thế giới'], ['xin chao the gioi', 'xin chào thế giới'],
@@ -1107,6 +1108,7 @@ class StringyTestCase extends PHPUnit_Framework_TestCase
['another-foo-bar', 'another..& foo -.-"-...bar'], ['another-foo-bar', 'another..& foo -.-"-...bar'],
['foo-dbar', " Foo d'Bar "], ['foo-dbar', " Foo d'Bar "],
['a-string-with-dashes', 'A string-with-dashes'], ['a-string-with-dashes', 'A string-with-dashes'],
['userhost', 'user@host'],
['using-strings-like-foo-bar', 'Using strings like fòô bàř'], ['using-strings-like-foo-bar', 'Using strings like fòô bàř'],
['numbers-1234', 'numbers 1234'], ['numbers-1234', 'numbers 1234'],
['perevirka-ryadka', 'перевірка рядка'], ['perevirka-ryadka', 'перевірка рядка'],