Comments (4)
This issue continues with all kinds of changes to tables. Today I changed extended the length of the field but my application continued to reject data as being too long though it now fit (on an insert statement this time). Again the issue could be overcome by switching the 'naming' parameter to 1, and I found today that changing the 'unicodeSql' parameter to 1 also got around the error. Unfortunately I do not know enough about this driver or these parameters to say why they act this way...
from laravel-db2.
Hi.
It is an issue about CCSID on your IBMi I guess.
Check it by issuing this command : DSPSYSVAL QCCSID
It will give you the default system value.
Check also your account value : DSPUSRPRF
the value 65535 is evil.
The thing is that you seem to be American or British or English speaking people... so you shouldn't have issues with latin characters as I'm used to ;-) ...
Try using CCSID 1208 (unicode), 37 (US) in the ODBC keywords of the connection settings.
from laravel-db2.
American, yes - and our lead programmer has never been one to concern himself with special characters. The system CCSID is 37. The ODBC CCSID is 1208, and I have made a few tables on the system with 1208 columns as needed.
Perhaps these not matching is contributing to this problem? I haven't noticed it since my last post when I changed the unicodeSql parameter to '1'. Since I updated to 5.4.4.2 it is back to 0 though - must have missed it in my config update. I think I will leave it at zero and see if this issue starts coming up again...
I know this is a difficult issue and probably not reproducible outside my system. It is helpful for me when the issue recurs though! I understand if you want to close it out - I only posted in case someone happened to have the same problem.
I was also using the ibm-iaccess-1.1.0.1-1.0.i386.deb driver on my old server, but recently moved to an LPAR on the iSeries so now I'm using ibm-iaccess-1.1.0.8-1.0.ppc64el.deb for my ODBC driver. I don't know if that will have any effect.
from laravel-db2.
Yes it has effect.
I saw benefits about unicode characters when I updated the iAccess ODBC driver.
from laravel-db2.
Related Issues (20)
- Laravel 7.x HOT 1
- Bad return value with CCSID 1208 HOT 1
- Problem sending query that contains ยง char HOT 1
- how to add isolation to each query
- Table name using lower case HOT 1
- Posibility for custom Processor HOT 1
- Error typeUuid does not exist
- Error typeTinyInteger does not exist
- DB2 Union Support Lost in Framework Refactor
- Error typeJson does not exist
- Could we add a proper license to this project?
- PDOException could not find driver HOT 4
- set default charset ? HOT 1
- Update for PHP 8.0 HOT 2
- Illuminate DB ^9.0 or Work with Laravel 9
- Problems with charset
- Lumen: Unsupported driver [db2_ibmi_odbc]. HOT 1
- Laravel 10 Support HOT 6
- PHP8 Support? HOT 1
- IBM DB2 integration with Laravel 8 using cooperl/laravel-db2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-db2.