‎2025 Dec 08 10:01 AM - edited ‎2025 Dec 09 10:36 AM
Hi,
have been trying out the ODBC for ABAP connector on ABAP Cloud Trial 2023SP00 on Linux.
Created a CDS view that exposes SBOOK. When retrieving the data I receive non-ASCII codes which result in errors in Excel and other ODBC consumers.
I tried changing the Charset property in odbc.ini but no change.
Any suggestion of why I am not receiving UTF-8 which I think is the default?
Cheers
Ignacio
Ps: Tests with ODBCforABAP on Windows with Excel for data consumption. No errors.
Checked locale on Linux which is en_US.UTF-8
Request clarification before answering.
Just provinding myself the solution to the topics I mentioned.
1). iusql cannot return non-ASCII characters as it never was meant to do so. See iusql code which converts unicode to ASCII (no matter which option you provide in .odbc.ini)
2). UseWChar=1 in the ODBC driver properties will return proper Unicode in your consuming app
Question can be closed.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.