0

I'm trying to use Zend's insert with the following string:

Almoço

Whether or not I use zend's quoteInto function, the string is inserted into the database as:

Almoço

How do I fix it so that the string I write/read to/from the database is the same as the original string?

Gil Birman
  • 35,242
  • 14
  • 75
  • 119

1 Answers1

1

You should specify a proper encoding (for db columns and connection) that has ç character in its character set.

In this case it's presumably UTF-8

zerkms
  • 249,484
  • 69
  • 436
  • 539