{"id":1489,"date":"2023-05-21T08:27:57","date_gmt":"2023-05-21T08:27:57","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=1489"},"modified":"2023-05-21T08:27:58","modified_gmt":"2023-05-21T08:27:58","slug":"give-example-to-convert-array-to-unicode","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/21\/give-example-to-convert-array-to-unicode\/","title":{"rendered":"Give example to convert array to Unicode"},"content":{"rendered":"\n<p>The Example to convert array to Unicode is:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">from array import array\np = array('u',[u'\\u0050',u'\\u0059',u'\\u0054',u'\\u0048',u'\\u004F',u'\\u004E'])\nprint(p)\nq = p.tounicode()\nprint(q)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The Example to convert array to Unicode is: from array import array p = array(&#8216;u&#8217;,[u&#8217;\\u0050&#8242;,u&#8217;\\u0059&#8242;,u&#8217;\\u0054&#8242;,u&#8217;\\u0048&#8242;,u&#8217;\\u004F&#8217;,u&#8217;\\u004E&#8217;])&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1489"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=1489"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1489\/revisions"}],"predecessor-version":[{"id":1490,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1489\/revisions\/1490"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=1489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=1489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=1489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}