0

Is it possible to make unicode characters work within react-intl json dictionaries? For example in en.json

My custom &supTM application

displays "&supTM" instead of TM

NearHuscarl
  • 66,950
  • 18
  • 261
  • 230
heisenberg7584
  • 563
  • 2
  • 10
  • 30

1 Answers1

2

You can use unicode character \u2122. So it'd be like this in your json file

{
   "MESSAGE": "My custom \u2122 application"
}

Live Demo

Edit React-Intl Unicode Character

NearHuscarl
  • 66,950
  • 18
  • 261
  • 230