Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-bootstrap modal displaying invalid characters in 'x' mark

We are using react-modal to display modal dialog and we have the following code

<Modal.Header closeButton>
     <Modal.Title>Drugs</Modal.Title>
</Modal.Header>

The close button appears as in the attached image. Anyone faced the same issue before?Close Button issue

like image 538
Balaji Avatar asked Nov 09 '22 16:11

Balaji


1 Answers

You just need to add a meta tag to set your encoding to UTF-8:

<meta charset="UTF-8">

https://github.com/react-bootstrap/react-bootstrap/issues/2098

like image 151
Radtastic Avatar answered Dec 11 '22 03:12

Radtastic