MySQL Forums
Forum List  »  Connector/C++

Re: mysql-connector-cpp-8.0.20 CDK Error: Failed string conversion
Posted by: Rafal Somla
Date: July 22, 2020 07:31AM

Hi Egor,

I could reproduce your issue! Using the first query u"SELECT '\uff08'" server returns "\xef\xbc\x88" which is correct utf-8 encoding of this character. Now our code for decoding utf-8 stumbles over this byte sequence, because it treats the first \xEF character as a BOM marker!

I will report a bug about this and it should be eventually fixed. Thanks a lot for uncovering this obscure bug in our code!

Options: ReplyQuote




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.