How to render accents in ReactJs?

后端 未结 3 1402
陌清茗
陌清茗 2020-12-20 23:27

I\'m trying render an element which has an accent character using ReactJS and JSX, but it\'s not returning what I wanted.

My JSX:

var Or         


        
3条回答
  •  爱一瞬间的悲伤
    2020-12-21 00:14

    I resolved! the problem is because I'm compiling JSX using gulp, and file generated is not UTF-8, so I save as file in UTF-8 that is working!

提交回复
热议问题