{"blog_title":"...ing logging 4.0","title":"dchar\u306e\u4e16\u754c\u3078","author_name":"haru-s","provider_url":"https://hatena.blog","blog_url":"https://haru-s.hatenablog.com/","url":"https://haru-s.hatenablog.com/entry/20090728/1248768472","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/haru-s/","provider_name":"Hatena Blog","published":"2009-07-28 17:07:52","type":"rich","version":"1.0","categories":["D\u8a00\u8a9e"],"description":"const(char*) toMBSz(in wchar[] t) { return toMBSz(to!string(t)); } const(char*) toMBSz(in dchar[] t) { return toMBSz(to!string(t)); } alias std.windows.charset.toMBSz toMBSz; void p(T)(T t) { printf(\"%s\\n\", toMBSz(to!string(t))); } \u3057\u304b\u3057Windows\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b\u306b\u306ftoMBSz\u3092\u4f7f\u308f\u306a\u3051\u308c\u3070\u306a\u3089\u305a\uff08\u524d\u306b\u4f5c\u3063\u305fmbstring\u3063\u3066\u306e\u3082\u3042\u308b\u3051\u3069\uff09\uff0c \u3053\u3044\u3064\u306f\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20090728%2F1248768472\" title=\"dchar\u306e\u4e16\u754c\u3078 - ...ing logging 4.0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}