Skip to content

PHP Firebird WIN1252 x UTF8 #1

@elvispdosreis

Description

@elvispdosreis

Dynamic SQL Error SQL error code = -303 Malformed string

I have a problem with php and firebird, where I have a database in firebird 2.5 with the charset WIN1252, and I have php making a connection through the interbase extension where the utf8 charset is defined to do the data transliteration between WIN1252 and UTF8, however when there is a parameter equal to null of error -303 in sql.
However testing by ibexpert does not give error.

select
from atividade a
inner join codigo_servicos c on c.cservcod = a.cservcod
where a.ativnome collate win_ptbr like '%limpe%'
      or c.cservcod = null
order by a.ativnome asc

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions