HTML Charset/ Character Set/ Encoding In Hindi

HTML

HTML Charset/ Character Set/ Encoding In Hindi – What Is A Charset/ Character Set In HTML In Hindi? – Jaise Hindi Bhasha Ke Akshar aur Matraen Alag Hoti Hain Aur Unse Alag Koi Bhi Character Hum Vakya Likhne Mein Istemal Nahi Kar Sakte, English Language Ke Apne Letters Aur Punctuations Marks Hote Hain.

Usi Tareeke Se Har Computer Language Ka Apna Alag Character Set Hota Hai Jisse Pta Chalta Hai Ke Konse Characters Ko Uss Language Ka Processor/ Compiler Support Karta Hai. Aise Hi HTML Ka Bhi Apna Alag Charset Hai Jiski Help Se Content Ko Easily Display Kiya Ja Sakta Hai, Without Fail.

Tour from ASCII to UTF-8 Character Set

ASCII (American Standard Code for Information Interchange), ye computer languages ka sabse pehla encoding standard tha. ASCII mein 128 alag-alag tarah ke characters define kare gaye hain jinko programming mein aur web designing mein istemal kiya jata hai: Numbers (0-9), English letters (A-Z), aur kuch special characters (!, @, #, $, %, ^, &,….etc.)

ISO-8859-1 HTML 4 ka default character set tha. Ye character set 256 alag-alag characters ko support karta hai.

ANSI (Windows-1252) Windows ka apna characters set hai, yeh ISO-8859-1 ke bilkul similar hai, matlab ISO-8859-1 ke sabhi chacters isme hain aur extra 32 aur characters hain.

UTF-8 character set ek aisa character set hai jo universally almost sabhi characters ko cover karta hai (1,112,064 valid character). Yeh HTML 5 ka default character set hai.

HTML charset Attribute in Hindi

Kisi bhi HTML ke page ko correctly display karne ke liye uske character set ka pta hona zaroori hai aur usko page je <meta> tag mein mention karna bhi zaroori hai. Neeche dikhaya gaya hai kaise meta tag mein character set ko likha jata hai:

<meta> tag ka syntax neeche dikhaya gaya hai:

<meta charset="UTF-8">

 The ASCII Character Set

  • ASCII Mein 0 To 31 (aur 127) Ko Kuch Control Characters Ki Encoding Ke Liye Istemal Kiya Gaya Hai.
  • ASCII Mein 32 Se 126 Tak Ki Values Ko Letters, Digits, Aur Symbols Ke Liye Istemal Kiya Gaya Hai.
  • ASCII, 128 Se 255 Tak Ki Values Ko Character Encoding Ke Liye Istemal Nahi Karta Hai.

The ANSI Character Set (Windows-1252)

  • ANSI Mein 0 Se 127 Ki Jo Encoding Values Hain, Who ASCII Se Match Karti Hain.
  • ANSI Mein Ek “Proprietary Set Of Characters” Hai 128 Se 159 Tak Ki Encoding Values Ke Liye.
  • ANSI Mein 160 Se 255 Tak Ki Encoding Values UTF-8 Se Match Karti Hain.

The ISO-8859-1 Character Set

  • ISO-8859- Mein 0 Se 127 Ki Jo Encoding Values Hain, Who ASCII Se Match Karti Hain.
  • ISO-8859-1 Mein 0 Se 127 Ki Jo Encoding Values Hain, Who ASCII Se Match Karti Hain.
  • ISO-8859-1 Mein 160 Se 255 Tak Ki Encoding Values UTF-8 Se Match Karti Hain.

ISO-8859-1 syntax for HTML4

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">

ISO-8859-1 syntax for HTML5

<meta charset="ISO-8859-1">

The UTF-8 Character Set

  • UTF-8 Mein 0 Se 127 Ki Jo Encoding Values Hain, Who ASCII Se Match Karti Hain.
  • UTF-8, 128 Se 159 Tak Ki Encoding Values Ko Istemal Nahi Karta Hai. 
  • UTF-8 Mein 160 Se 255 Tak Ki Encoding Values ANSI Aur ISO-8859-1 Se Match Karti Hain.
  • UTF-8, 256 Se 10,000 Tak Different Characters Ko Encode Karta Hai.

UTF-8 syntax for HTML4:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">

  UTF-8 syntax for HTML5:

<meta charset="UTF-8">

Leave a Reply

Your email address will not be published. Required fields are marked *