view raw
Dilip Saga Dilip Saga - 6 months ago 41
HTML Question

Special Characters are automatically turning to someother characters

My actual charcters:

ÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ

Above characters automatically turns into

’'‘ÆÃÆŽÆÆƔIJŊŒẞÞǷȜæðÇəɛɣijŋœĸſßþƿÈÄ„ÆÇÄƊĘĦĮƘÅØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÃÀÂÄÇĂĀÃÅǺĄÆǼǢÆĆĊĈČÇĎḌÄÆŠÃÉÈĖÊËĚĔĒĘẸƎÆÆĠĜǦĞĢƔáàâäǎăÄãåǻąæǽǣɓćċĉÄçÄá¸Ä‘ɗðéèėêëěĕēęẹÇəɛġÄǧğģɣĤḤĦIÃÌİÎÃÇĬĪĨĮỊIJĴĶƘĹĻÅĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕÅỌØǾƠŒĥḥħıíìiîïÇĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒÅÅõőá»Ã¸Ç¿Æ¡Å“ŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÃỲŶŸȲỸƳŹŻŽẒŕřŗſśÅšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃáºÅµáº…ƿýỳŷÿȳỹƴź

I got that output when i tried to console.log the string

So I`m not able to use country specific special characters in regular expressions.

Answer

Below code line, add between html head tags.

<meta charset="UTF-8"/>