-
I have integrated react-calendar into my application and it works as intended. I'm pretty sure this isn't a question specific to this component since I see it in any calendar component but I didn't know where else to ask. Whenever I show the component the characters used for the previous and next arrows are messed up and is showing the characters shown below. Have not been able to find an answer anywhere and not even sure what to Google for. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: After a lot of searching throughout all the code we use, it was determined that the issue wasn't anything in the front-end code. We use a Java Wildfly back-end and the code that was sending the bundle,js for this application didn't use the proper encoding. For anyone else in this situation, make sure your server sends any JavaScript file with the header Content-Type: application/javascript; charset=utf-8 |
Beta Was this translation helpful? Give feedback.
Update:
After a lot of searching throughout all the code we use, it was determined that the issue wasn't anything in the front-end code. We use a Java Wildfly back-end and the code that was sending the bundle,js for this application didn't use the proper encoding. For anyone else in this situation, make sure your server sends any JavaScript file with the header Content-Type: application/javascript; charset=utf-8