Case insensitive collation identical to Javascript
Posted by: Rene Prillop
Date: April 29, 2021 02:32AM

Can one please confirm or reject if
- SELECT (a = b) with utf8mb4_0900_as_ci collation
results always the same result as
- (a.toLowerCase() == b.toLowerCase()) in JavaScript?
a and b are both non-null Unicode strings.

If not, what would be the best collation (or solution) to make case-insensitive comparison to work the same on MySQL and JS?


Options: ReplyQuote

Written By
Case insensitive collation identical to Javascript
April 29, 2021 02:32AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.