Chuyển đổi escape Unicode

Chuyển các ký tự ngoài ASCII sang dạng \uXXXX có thể di chuyển, hoặc giải escape chuỗi thành văn bản dễ đọc. Tiện khi nhúng unicode vào file cấu hình, JSON hoặc mã.

Công thức
character → \uXXXX (4 hex digits) · code points above U+FFFF use a surrogate pair

Câu hỏi thường gặp

Dạng escape nào được tạo ra?
Mỗi ký tự thành \u kèm mã hex 4 chữ số; ký tự ngoài BMP được tách thành cặp surrogate cao/thấp.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. Giới thiệu MateCalc.

Máy tính liên quan