I need to take a unicode string to HTML Entities.
Let's say the string is: ιи¢яє∂ιвℓє ѕкιℓℓѕ
I want it to convert it to ιи¢яє∂ιвℓє ѕкιℓℓѕ
In order to be able to store it in my SQL db and then output the desired text later.
This basically has the functionality I want, where you type in a string and itn converts it: http://www.online-toolz.com/tools/unicode-html-entities-convertor.php
I'm not very familiar with UTF-8/ASNII/different types of special characters in general, But I'd like it to be able to handle all the Unicode characters here: https://unicode-table.com/en/
Sorry if this is a dumb question but I tried all combinations of uft8_decode, htmlentities, htmlspecialchars and mb_convert_encoding and I can't get the desired result.
Thank you for looking!