I got a varbinary
field in my database, and got some problems with displaying special (Polish) characters like ąśćężźć
.
Example: SELECT local_name from items WHERE id = 140
returns: Pieczęć
, the problem appears when I want to print this data on my website (encoding UTF-8
there), then the Pieczęć
turns into the following string: Piecz��
tried also to use utf8_encode()
PHP function but it gives the following result: Pieczêæ
.
How can I solve that so it will print the special characters without problem?