स्ट्रिंग से Charcode
किसी स्ट्रिंग के प्रत्येक कैरेक्टर को उसके संख्यात्मक कैरेक्टर कोड में बदलें।
String to Charcode के बारे में
String to Charcode text string में प्रत्येक character को उसके numeric Unicode code point, ASCII value, या UTF-16 code unit में decimal, hexadecimal, या octal format में convert करता है, और numeric codes से characters में reverse conversion भी करता है। characters के numeric representation को समझना encoding issues diagnose करने, source code में escape sequences बनाने और byte level पर character sets के साथ काम करने के लिए essential है। टूल emoji, CJK ideographs और supplementary plane code points सहित multi-byte Unicode characters को सही ढंग से handle करता है, surrogate-pair confusion से बचने के लिए JavaScript charCodeAt और पूर्ण Unicode codePointAt दोनों values प्रदर्शित करता है।
उपयोग कैसे करें
input फ़ील्ड में अपना टेक्स्ट टाइप या पेस्ट करें और प्रत्येक character का numeric code तुरंत output panel में space-separated list के रूप में दिखाई देता है। selector से numeric base format चुनें: standard ASCII table lookups के लिए decimal, Unicode documentation के लिए U+XXXX format में hexadecimal, या C और shell escape sequences के लिए octal। codes को characters में वापस convert करने के लिए decode mode पर switch करें, चुने गए base में space-separated numeric codes दर्ज करें और Convert पर क्लिक करें।
सामान्य उपयोग के मामले
- unexpected या garbled characters के exact code points inspect करके web applications में character encoding bugs diagnose करना
- HTML entities या escape sequences में उपयोग के लिए special symbols, mathematical operators, arrows और emoji के Unicode code points ढूँढना
- source code में directly type नहीं किए जा सकने वाले characters से C, Java, या JavaScript Unicode या ASCII escape sequences generate करना
- pasted text या API responses में invisibly embedded hidden non-printable characters, zero-width joiners, या control codes detect करना
- expected versus actual Unicode code point sequences की तुलना करके internationalized strings की correct character encoding verify करना