Kodlama

Unicode Escape

Unicode dizilerini kodlama ve çözme — karakterleri \uXXXX biçiminde ve tersi.

Sıkça sorulan sorular

What does a \uXXXX escape sequence represent?

It's a Unicode code point written as four hexadecimal digits, used in JSON, JavaScript strings, and similar formats to represent a character without typing it literally.

Why do some characters like emoji turn into two \u sequences?

Characters outside the Basic Multilingual Plane (astral characters, including most emoji) don't fit in a single 16-bit \uXXXX unit, so they're represented as a surrogate pair — two \uXXXX sequences that together encode one character.

What's the difference between "Non-ASCII" and "All characters" mode?

Non-ASCII only escapes characters outside the basic ASCII range, leaving plain letters, digits, and punctuation untouched. All characters escapes everything, including ASCII, which can be useful for spotting exact character content.