Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-16 Thread Wolfgang Winkler via naviserver-devel
We've a workaround which is probably much worse than yours, but working. We are using nsdbpg, I've not tried the query with the nsdbi interface. Am 16.11.21 um 17:06 schrieb Gustaf Neumann: Funny enough, i same a very similar problem today and provide a local fix for this. I am not happy with

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-16 Thread Gustaf Neumann
Funny enough, i same a very similar problem today and provide a local fix for this. I am not happy with this fix since it is rather costly, so i would like to work on this more before committing. However, today and tomorrow i am fully booked with urgent items, so don't expect a fix for this bef

Re: [naviserver-devel] Issue with certain emojis (unicode/utf-8)

2021-11-16 Thread Wolfgang Winkler via naviserver-devel
Hello all, the fix worked, thank you Gustaf! But we still have a problem with emojis when writing them to the database. The error we get is: Database operation "dml" failed (exception ERROR, "ERROR:  invalid byte sequence for encoding "UTF8": 0xf0 0x9f 0x98 0xff when trying to write the emo