Check out example codes for "doctype html charset utf-8". It will help you in understanding the concepts better.

Code Example 1

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

Learn ReactJs, React Native from akashmittal.com