Remove hard coded charset.
authoreileen <emcnaughton@wikimedia.org>
Tue, 14 Jul 2020 04:51:45 +0000 (16:51 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 14 Jul 2020 04:52:03 +0000 (16:52 +1200)
commit1858dee8d6583208fe56cb8ffdd724bf20ec46a6
tree1ee7d9f3160e45a7214ac07e25d742bd5f96dd88
parent4f902dd1f9749368b6f65e79cba9b7f8e8c58695
Remove hard coded charset.

In thinking about the proposal here
https://github.com/civicrm/civicrm-core/pull/13633/files#diff-c5e39924ad99ac88b48763a0d8fa246eR30
to switch to utf8mb4 I found that none of the places on the web that suggest functions like ours
specifiy charset - eg. https://stackoverflow.com/questions/287105/mysql-strip-non-numeric-characters-to-compare

When I look at the code it is iterating through the characters to find integers - which should
be the same regardless of charset. So, I think we can simply remove it.
:
CRM/Contact/BAO/Contact.php