{"id":299,"date":"2009-05-12T23:36:11","date_gmt":"2009-05-12T18:06:11","guid":{"rendered":"http:\/\/techtwaddle.net\/?p=299"},"modified":"2011-04-12T23:36:29","modified_gmt":"2011-04-12T18:06:29","slug":"plain-text-ascii-ansi-unicode-utf-8-utf-16-confused","status":"publish","type":"post","link":"https:\/\/techtwaddle.co.in\/blog\/2009\/05\/12\/plain-text-ascii-ansi-unicode-utf-8-utf-16-confused\/","title":{"rendered":"Plain text, ASCII, ANSI, UNICODE, UTF-8, UTF-16 confused?"},"content":{"rendered":"<div style=\"text-align: justify;\"><span style=\"font-family: Comic Sans MS;\">I came across this wonderful post by Joel Spolsky&nbsp; on characters, character sets, ANSI, ASCII, UNICODE and much much more. I have to admit that till now I thought plain text is ASCII is ANSI, all within 8-bits. And anything that takes up 2-bytes was unicode. Well, I couldn&#8217;t have been more wrong! Here are a few excerpts from his entry:<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify; font-family: Comic Sans MS;\"><span style=\"color: rgb(0, 0, 128);\">&quot;All that stuff about &quot;plain text = ascii = characters are 8 bits&quot; is not only wrong, it&#8217;s hopelessly wrong, and if you&#8217;re still programming that way, you&#8217;re not much better than a medical doctor who doesn&#8217;t believe in germs.&quot;<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify; font-family: Comic Sans MS;\"><span style=\"color: rgb(0, 0, 128);\">&quot;Some people are under the misconception that Unicode is simply a 16-bit code where each character takes 16 bits and therefore there are 65,536 possible characters. <\/span><strong style=\"color: rgb(0, 0, 128);\">This is not, actually, correct.<\/strong><span style=\"color: rgb(0, 0, 128);\"> It is the single most common myth about Unicode, so if you thought that, don&#8217;t feel bad.&quot;<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\"><span style=\"font-family: Comic Sans MS;\">Don&#8217;t miss this one. Grab a read at:<\/span><\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: justify;\"><a href=\"http:\/\/www.joelonsoftware.com\/articles\/Unicode.html\"><span style=\"font-family: Arial;\">The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)<\/span><\/a><\/div>\n<p><span style=\"font-family: Comic Sans MS;\">Better learn late than never (:<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across this wonderful post by Joel Spolsky&nbsp; on characters, character sets, ANSI, ASCII, UNICODE and much much more. I have to admit that till now I thought plain text is ASCII is ANSI, all within 8-bits. And anything that takes up 2-bytes was unicode. Well, I couldn&#8217;t have been more wrong! Here are &hellip; <a href=\"https:\/\/techtwaddle.co.in\/blog\/2009\/05\/12\/plain-text-ascii-ansi-unicode-utf-8-utf-16-confused\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Plain text, ASCII, ANSI, UNICODE, UTF-8, UTF-16 confused?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1ktFF-4P","_links":{"self":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/299"}],"collection":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":1,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"predecessor-version":[{"id":300,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/299\/revisions\/300"}],"wp:attachment":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}