2

I have a longtext in my db where i have some special chars like Ã

How i can convert it to "à"? I've tried using utf8_encode and _decode but it seems not work. Document charset is utf8, and longtext field too.

1 Answer 1

3

It's not about encoding but html entities : http://php.net/manual/fr/function.html-entity-decode.php

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.