node-firebird icon indicating copy to clipboard operation
node-firebird copied to clipboard

How to do accent insensitive queries?

Open rodrigo-rafael opened this issue 7 years ago • 2 comments

Hi!

First of all, congratulations and thanks for your job!

I read that node-firebase connections are always utf-8.

So, would you guys clarify me in this matter?

Best regards, Rodrigo Rafael

rodrigo-rafael avatar Dec 08 '17 01:12 rodrigo-rafael

Hi, I forced collation my doing WHERE P.DESCRICAO COLLATE PT_BR LIKE '%plástico%'

But even so it is not working. The results are only those who contains 'á'

rodrigo-rafael avatar Dec 09 '17 13:12 rodrigo-rafael

I have used domain to my columns as: CREATE DOMAIN NH_AVAL_ID_12 CHAR( 12 ) COLLATE WIN_PTBR

It works well.

joweste avatar Jan 05 '18 02:01 joweste