In this case we can use conversions to the appropriate encoding.
For example in the following case:
In the above query, if column1 has been set to collation as Unicode-UTF8 or _latin1 for example, then what is selected from column2 will have to be converted to the corresponding code. We can force it like this:
Do we see the downside in this bypass that we have to know that the collation code is _latin1. A better way to bypass is to use hex and unhex encoding and decoding functions.
There are many other functions that can be used in place of hex and unhex.