Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1559

EXEC SQL error inserting extended ascii (£ etc)

$
0
0

Environment: VS2015, VC2.3, Win 10, MySQL 5.7, character set UTF8 (default)

Hi,

I'm getting an exec sql error inserting extended ascii into a mysql varchar field:

"[MySQL][ODBC 5.3(w) Driver][mysqld-5.7.12-log]Incorrect string value: '\xA3150 o...' for column 'linage_rec_text' at row 1"

I can type £ into the field directly in MySQL workbench but get the error via exec sql.

What's the correct way to handle this? I need to store extended ascii characters from MF Dialog system text input fields.

My (host) field is defined as pic x(n).

ODBC DRIVER: I'm using 32 bit MySQL ODBC 5.3 unicode driver - should I be using the ANSI driver instead?

Any help much appreciated.

Linden       

                                                                                                                                                                                                                                                                                                                                                                                   


Viewing all articles
Browse latest Browse all 1559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>