2

A section of our website uses a database table called 'description'. Its collation value is set in the database as 'utf8_czech_ci' (and type as 'VARCHAR') and the PHP itself is set to utf8 too. The title and other content written outside of the description area is rendered using the Czech alphabet. It shows � for Czech specific letters when drawing content from the description table.

For example, original text in the database from an input form on the site:

...naší skladbu níže...

Is output as:

...na�� skladbu n��e...

Can you think of anything I may have missed for the page to show Czech characters correctly?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
JoeW
  • 578
  • 1
  • 10
  • 29

0 Answers0