{"id":385,"date":"2024-10-05T10:48:34","date_gmt":"2024-10-05T10:48:34","guid":{"rendered":"https:\/\/hiyokotech.com\/?p=385"},"modified":"2024-10-05T10:48:34","modified_gmt":"2024-10-05T10:48:34","slug":"internationalization-i18n-java","status":"publish","type":"post","link":"https:\/\/hiyokotech.com\/?p=385","title":{"rendered":"Internationalization (i18n) Java"},"content":{"rendered":"<p>\u30fbDouble or more byte language charcter code outpu<\/p>\n<p>Servlet response sometimes are garblied when output double or more byte language charcter code like this:<\/p>\n<p>???1?2???????????????????<\/p>\n<p>In this case, these garblied letter were solved by changing following code<\/p>\n<p>From<\/p>\n<p>response.setContentType(&#8220;text\/html;&#8221;);<\/p>\n<p>To<\/p>\n<p>response.setContentType(&#8220;text\/html; charset=UTF-8&#8221;);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbDouble or more byte language charcter code outpu Servlet response sometimes are garblied when output double or more byte language charcter code like this: ???1?2??????????????????? In this case, these garblied letter were solved by changing following code From response.setContentType(&#8220;text\/html;&#8221;); To response.setContentType(&#8220;text\/html; charset=UTF-8&#8221;);<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/385"}],"collection":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=385"}],"version-history":[{"count":1,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":386,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions\/386"}],"wp:attachment":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}