String Escape और Bytes
अलग languages के string literals escape करें या text को UTF-8 bytes व Unicode code points में बदलें।
इस्तेमाल कैसे करें
चुनी language या data format के string literal को escape या unescape करने के लिए String literals चुनें। Format को quotes या field wrappers चाहिए तो output में वे भी आते हैं; JavaScript/TypeScript templates, PHP और Ruby के interpolation markers सुरक्षित रहते हैं। SQL quote doubling, POSIX Shell safe quote concatenation और Regex केवल metacharacter escaping इस्तेमाल करता है।
UTF-8 Binary, Hex, Decimal या Octal bytes, या सीधे U+XXXX Unicode code points के लिए Text ⇄ bytes चुनें। Byte decoding strict UTF-8 है। URL components के लिए related URL encoder और broader HTML entity conversion के लिए HTML Entities इस्तेमाल करें।
आम सवाल
क्या unescape JavaScript या दूसरा code चलाता है?
नहीं। हर supported syntax explicit parser से process होती है। टूल eval या new Function कभी इस्तेमाल नहीं करता।
UTF-8 bytes और code points में क्या अंतर है?
Code point Unicode character पहचानता है; UTF-8 उसे एक से चार bytes में encode करता है। उदाहरण: 🚀 U+1F680 है और UTF-8 में F0 9F 9A 80।
POSIX Shell escaping अलग क्यों दिखती है?
POSIX single-quoted string में single quote नहीं आ सकता, इसलिए output quote बंद करता, escaped quote जोड़ता और quote दोबारा खोलता है।