I'm having a rather strange problem: I am working with a database (which I did not design), this database is multi-lingual, that is, there are titles in English, Spanish, Russian, Vietnamese, etc.
From what I have seen titles with characters of type "ñ", "á", "é", "ë", have been stored in the database in this way: "ñ_", so I know in html for show these characters how to write them is "ñ
" in my PHP code at the time of calling these characters (without using any type of conversion) the following happens to me:
Title in database: Señ_ora // Señora
Title obtained by PHP: Señ_ora // Señora
I tried using utf_decode and html_entities_decode but this did not work. I wanted to do this, use a str_replace to remove the "_" from the title "Señ_ora" but I got: "Señora"