Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set default charset ? #77

Open
Yornletard opened this issue Dec 6, 2021 · 1 comment
Open

set default charset ? #77

Yornletard opened this issue Dec 6, 2021 · 1 comment

Comments

@Yornletard
Copy link

Hi,
this is not an issue, but a question about config :
Is there a way to set charset in connection (config/database.php)?
I'm getting array of object from a query with some values like this :
1 => {#513
+"label": b"verre 41 cl"
+"code": "456987"
+"brand": "20"
}

"b" prefix before label "verre 41 cl" stand for "binary", which has to be decoded.

thanks

@jonkerw85
Copy link

You can modify the CCSID value in the odbc_keywords array, see also https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.idad400/ccsids.htm.

Our data in de database is ISO-8859-1, but the clients need the data in UTF8. To accomplish this we modified the de DB2 processor configuration. See #80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants