PHP has a function called htmlspecialchars which replaces Characters like
& (ampersand) replaced with &
" (double quote) replaced with "
' (single quote) replaced with '
< (less than) replaced with <
> (greater than) replaced with >
Read More → [PHP: htmlspecialchars - Manual]
I’m convert my PHP project to elixir and all database entries with those characters are saved with their replacements. How can I convert the string data from the database back to its characters?






















