Skip to content

Conversation

zhujiaqi
Copy link

@zhujiaqi zhujiaqi commented Apr 7, 2015

To fix mysql error <Illegal mix of collations for operation 'like'> after typing in unicode search texts (such as Chinese characters)

Heres a dirty fix by assuming:

  1. Those who seek the power of crud-admin-generator do not always know how to fiddle with charsets and collations, and they do not know what to expect.
  2. Case insensitive search is not too useful in this case.
  3. Performance is not an issue.

caveat: i have not tested the fix against mysql 5.5 minus

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