Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

327
Visualizações
How to convert unicode values to normal text in Javascript?

I am getting a data from an API to my JS project. Data is about questions and answers. Texts in data are broken. Sometimes there are special characters in questions or answers.

For Expample :

Question : Which song in rapper Kanye West's album "The Life of Pablo" features Rihanna?

Following special characters are characters I've been able to catch so far. So maybe there is more in API data.

°
"
°
'
ö
’
é

The solutions that I've found on the internet was only focusing specific special character and solving it with .replace() function.

I want to ask you "Can you write the following function in JavaScript?"

function fixText(text){
 text = text.......??????
 return text
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda