require "rubygems" require "dl/import" module Lib_MSVCRT extend DL::Importable LC_CTYPE = 2 dlload "msvcrt.dll" extern "char* setlocale(int, char*)" end Lib_MSVCRT::setlocale(Lib_MSVCRT::LC_CTYPE, "")
![Big Sky :: わざわざrubyからsetlocale()呼び出すのにライブラリ作らなくても呼べた。](https://cdn-ak-scissors.b.st-hatena.com/image/square/ae5f360d3c82cd87e23b34fb6f5013ab7cf0f1a6/height=288;version=1;width=512/https%3A%2F%2Fmattn.kaoriya.net%2Fimages%2Flogo.png)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く