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

276
Views
Convert font "Cambria Math" to plain text with js

I have a text "๐“๐๐‹", the problem is that when i get this text it doesn't change, it stays in font format "Cambria Math". Notepad doesn't help translate this. The font can be seen in Microsoft Word. Is it possible to translate this into plain text "TBL" using javascript?

about 4 years ago ยท Juan Pablo Isaza
1 answers
Answer question

0

I solved the problem with the normalize() method: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize Example js:

var name1 = '๐“๐๐‹';
var name2 = 'TBL';
var name1NF = name1.normalize('NFC').normalize('NFKC').normalize('NFD').normalize('NFKD')
if(name1NF==name2){
    alert("good");
}
about 4 years ago ยท Juan Pablo Isaza Report
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!