Binary को Human-Readable Text में कैसे बदला जाता है?
Computer सिर्फ numbers समझता है — 0 और 1। तो जब हम "A" लिखते हैं, computer के लिए वो actually एक number होता है। इस पूरे process को Character Encoding कहते हैं।
Step-by-step समझते हैं:
Step 1 — Binary से Number बनता है
8 bits मिलकर एक byte बनाते हैं, और वो byte एक number represent करती है।
उदाहरण: 01000001 = 65
Step 2 — Number से Character बनता है
एक encoding table होती है जो हर number को एक character से map करती है।
ASCII table के हिसाब से: 65 = "A"
Step 3 — Encoding Standards
ASCII — सिर्फ English के लिए, 128 characters
UTF-8 — दुनिया की सभी languages support करता है
Unicode — Universal standard, 1 लाख+ characters
Real Example:
"Hi" को computer इस तरह store करता है:
H = 01001000 → 72 → "H"
i = 01101001 → 105 → "i"
एक line में बोलें तो:
Binary → Numbers → Encoding Table → Human-readable Text
बस एक dictionary है जिसमें computer देखता है कि यह number मतलब यह letter। जिस dictionary का use हो, वही encoding है।
Comments
Post a Comment