1
I have a table that contains the field titulo. I have a query and want to sort alphabetically by it, however, some fields are with HTML code, I will give examples:
Goat Slaughter and Meat Processing
Slaughter and Marketing
çãthe Animal
In the second example, for the user the correct name appears Abate e Comercialização de Animais, but in the database is in the form shown above.
It is possible to sort alphabetically considering the text without the html codes, as text "readable"?
Look at this question : Postgresql replace HTML entities Function . I tested the solution here in postgresql 10 and it works
– William John Adam Trindade