मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)75k · #2771

charset

यह क्या करती है

यह स्किल जाँचती है कि HTML पेज अपनी करैक्टर एन्कोडिंग दस्तावेज़ के ऊपर के हिस्से में घोषित करते हैं। यह उन डेवलपर के लिए है जो चाहते हैं कि किसी भी भाषा का टेक्स्ट सही दिखे।

कब इस्तेमाल करें

  • ✓जब पेज टूटे हुए अक्षर या चिह्नों जैसे गड़बड़ टेक्स्ट दिखाते हैं।
  • ✓जब आप नया HTML टेम्पलेट बना रहे हों।
  • ✓जब आप सही सेटअप के लिए पेज के head हिस्से की समीक्षा कर रहे हों।

Skill का लिंक

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/charset/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/charset/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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.

Rule page: https://frontendchecklist.io/rules/html/charset

अक्सर पूछे जाने वाले सवाल

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.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#2771
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills