charset
यह क्या करती है
यह स्किल जाँचती है कि HTML पेज अपनी करैक्टर एन्कोडिंग दस्तावेज़ के ऊपर के हिस्से में घोषित करते हैं। यह उन डेवलपर के लिए है जो चाहते हैं कि किसी भी भाषा का टेक्स्ट सही दिखे।
कब इस्तेमाल करें
- ✓जब पेज टूटे हुए अक्षर या चिह्नों जैसे गड़बड़ टेक्स्ट दिखाते हैं।
- ✓जब आप नया HTML टेम्पलेट बना रहे हों।
- ✓जब आप सही सेटअप के लिए पेज के head हिस्से की समीक्षा कर रहे हों।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/charset/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“जाँचें कि मेरे पेज टेम्पलेट UTF-8 को शुरू में घोषित करते हैं, ताकि खास अक्षर सही दिखें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पेज head में पहले एलिमेंट के रूप में UTF-8 पर सेट meta charset टैग जोड़ता है, जो दस्तावेज़ के पहले 1024 बाइट के भीतर हो।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Declare UTF-8 character encoding
Missing or incorrect charset causes mojibake (garbled text), broken special characters, and security vulnerabilities from character encoding attacks.
Quick Reference
- Add
<meta charset="UTF-8">as the first element in <head> - Must appear within the first 1024 bytes of the document
- UTF-8 supports all languages and special characters
Check
Verify that this HTML document declares UTF-8 character encoding in the head section and that it's positioned early in the document.
Fix
Add <meta charset="UTF-8"> as the first meta tag in the head section of the HTML document.
Explain
Explain why UTF-8 character encoding is essential for international content support and preventing character display issues.
Code Review
Review templates, server-rendered HTML, and shared components that output markup related to Declare UTF-8 character encoding. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
अक्सर पूछे जाने वाले सवाल
mojibake क्या है?
स्किल इस शब्द का उपयोग उस गड़बड़ टेक्स्ट के लिए करती है जो गलत एन्कोडिंग से अक्षर पढ़े जाने पर दिखता है।
यह घोषणा जल्दी क्यों होनी चाहिए?
स्किल कहती है कि यह दस्तावेज़ के पहले 1024 बाइट के भीतर होनी चाहिए।
क्या UTF-8 सभी भाषाओं को कवर करता है?
स्किल कहती है कि UTF-8 सभी भाषाओं और खास अक्षरों को सपोर्ट करता है।
जानकारी
लेखक का मूल विवरण
Use when reviewing templates, rendered HTML, or shared components related to Declare UTF-8 character encoding. Validate the final browser-facing markup, not just the source framework abstraction.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2771
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।