{"provider_name":"Hatena Blog","published":"2010-06-10 04:44:13","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/sirocco/","categories":["Haskell","MS-Windows"],"height":"190","description":"Haskell \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306bUTF8\u4ee5\u5916\u306e\u65e5\u672c\u8a9e\u3092\u8a18\u5165\u3059\u308b\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u30b3\u30e1\u30f3\u30c8\u306fOK\uff09 UTF8\u306e\u65e5\u672c\u8a9e\u3092\u51fa\u529b\u3059\u308b\u3068\u304d\u3082\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u51fa\u529b\u3067\u304d\u305a\u3001 utf8-string \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066 System.IO.UTF8\u306eputStrLn\u306a\u3069\u3092\u4f7f\u7528\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002 -- UTF8\u306e\u30d5\u30a1\u30a4\u30eb import System.IO.UTF8 main = System.IO.UTF8.putStrLn \"\u3053\u3093\u306b\u3061\u306f\u30cf\u30b9\u30b1\u30eb\uff01\" SJIS \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\u3059\u308b\u5206\u306b\u306f\u305d\u306e\u307e\u307e\u3067OK\u3067\u3059\u3002 PS D:\\haskell\\json> cat sjis.txt\u2026","width":"100%","blog_url":"https://sirocco.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100610%2F1276199053\" title=\"Haskell \u3067 SJIS \u6587\u5b57\u5217 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://sirocco.hatenadiary.org/entry/20100610/1276199053","version":"1.0","type":"rich","author_name":"sirocco","title":"Haskell \u3067 SJIS \u6587\u5b57\u5217","image_url":null,"provider_url":"https://hatena.blog"}