{"id":102296,"date":"2004-07-15T07:00:00","date_gmt":"2004-07-15T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/07\/15\/dont-forget-to-define-unicode-if-you-want-unicode\/"},"modified":"2004-07-15T07:00:00","modified_gmt":"2004-07-15T07:00:00","slug":"dont-forget-to-define-unicode-if-you-want-unicode-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040715-00\/?p=102296","title":{"rendered":"Don&#8217;t forget to #define UNICODE if you want Unicode"},"content":{"rendered":"<p>I answered  <a href=\"http:\/\/weblogs.asp.net\/oldnewthing\/archive\/2004\/04\/23\/118893.aspx#144621\">  this comment<\/a> directly, but it deserves reiteration with wider  visibility.\n  If you don&#8217;t #define UNICODE, you get ANSI by default.\n  If you want to see characters beyond the boring 7-bit ASCII,  make sure you are using a font that can display those characters.\n  I am assuming a level of competence where issues like this  go without saying, so that I can dig into the more advanced topics  without having to explain all the basics, but I have to accept that  people of all levels of programming experience read my stuff.<\/p>\n<p>  But the second part raises an advanced question:  How do you find a font that  can display the characters you want? What if the characters can come  from a source outside your control?  We&#8217;ll look at this tomorrow.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I answered this comment directly, but it deserves reiteration with wider visibility. If you don&#8217;t #define UNICODE, you get ANSI by default. If you want to see characters beyond the boring 7-bit ASCII, make sure you are using a font that can display those characters. I am assuming a level of competence where issues like [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-102296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>I answered this comment directly, but it deserves reiteration with wider visibility. If you don&#8217;t #define UNICODE, you get ANSI by default. If you want to see characters beyond the boring 7-bit ASCII, make sure you are using a font that can display those characters. I am assuming a level of competence where issues like [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/102296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=102296"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/102296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=102296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=102296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=102296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}