Open RiccardoFrancescato opened 4 years ago
Hi, I have the same problem with (Ñ) character, my temporal solution is add utf8_decode(COLUMN) in my where method:
Wodetal2::where('WDSERV','BAS') ->where(utf8_decode('WDCURÑ'),'2') ->where('WDMRC$','>',0) ->get();
i think this is a problem with driver, in other librarys like adodb php i have to do the same utf8_decode in my sql instrucction to work.
if you have a other best solution i want to know.
Hi, I have a problem running querys that contains char §. The DB2 instance contins table with column names that contains § char for example
CLM$§1
. when i try to execute the query the following query, laravel returns sql errorError:
I have tried to enable
'UNICODESQL' => 1,
and'DEBUG' => 65536,
in the cfg but without success. If i try to execute the same query wituout specifying column names and using the *the result is returned but the colun is not accessible sing it contains $ in the name. Anyone has faced this kind of problem before? Thanks in advance Riccardo