Javascript not executing properly on wordpress site for guest related to encoding

I used elementor html box tool to inject a small calculator into a blog. The calculator has chinese character as javascript objects used for mapping. The calculator works fine when I’m logging but it does not when I’m in not logging in. I used console command and saw the chinese characters are not getting interpreted properly. It’s showing ASCII like

&#19985
&#20133

I made sure the encoding is set to utf-8.I tried different solution from Google and nothing seems to work.