How can I transform these types of words with Javascript?
Lu00f3gica, Anu00e1lisis.
They are words that contain special characters such as accents, but when leaving the db
they appear like this, the correct ones would be
Logic, Analysis
How can I do it with Javascript?
I already have charset
en utf-8
and the db is in latin1_swedish_ci I am using PHP and mySQL
Apparently they are unicode and the accents are not shown to you because they lack the
\
example:To replace those characters in the js I can think of something like:
It would also work without it
\
but you must declare it like this in the list of unicodeList , example: