{"id":2130,"date":"2026-11-10T08:03:40","date_gmt":"2026-11-10T08:03:40","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=escape-sequence"},"modified":"2026-11-10T08:03:40","modified_gmt":"2026-11-10T08:03:40","slug":"escape-sequence","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=escape-sequence","title":{"rendered":"Escape Sequence"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In code, a backslash followed by n means new line. In terminals, escape codes control colours and cursor positions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Misunderstanding them causes text to display wrongly or can open injection holes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A developer writes backslash-n in a string to put a line break in a message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Never put user input into code without cleaning escapes properly.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>An escape sequence is a short group of characters that gives special meaning to the characters after it.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[10],"dc_topic":[34],"class_list":["post-2130","dc_term","type-dc_term","status-publish","hentry","dc_letter-e","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2130\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2130"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=2130"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}