Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

326
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!