Skip to content

Turkish character problem (ç)#7

Open
yigit-serin wants to merge 2 commits intojcrowe206:masterfrom
yigit-serin:master
Open

Turkish character problem (ç)#7
yigit-serin wants to merge 2 commits intojcrowe206:masterfrom
yigit-serin:master

Conversation

@yigit-serin
Copy link

getDirtyWordsFromString methot returns wrong values if string contains some turkish characters like "ç".

u (PCRE_UTF8)
This modifier turns on additional functionality of PCRE that is incompatible with Perl. Pattern and subject strings are treated as UTF-8. An invalid subject will cause the preg_* function to match nothing; an invalid pattern will trigger an error of level E_WARNING. Five and six octet UTF-8 sequences are regarded as invalid since PHP 5.3.4 (resp. PCRE 7.3 2007-08-28); formerly those have been regarded as valid UTF-8.

getDirtyWordsFromString methot returns wrong values if string contains some turkish characters like "ç".

u (PCRE_UTF8)
This modifier turns on additional functionality of PCRE that is incompatible with Perl. Pattern and subject strings are treated as UTF-8. An invalid subject will cause the preg_* function to match nothing; an invalid pattern will trigger an error of level E_WARNING. Five and six octet UTF-8 sequences are regarded as invalid since PHP 5.3.4 (resp. PCRE 7.3 2007-08-28); formerly those have been regarded as valid UTF-8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant