2009-03-01から1ヶ月間の記事一覧
ICU(International Components for Unicode)というライブラリのなかにcharset detectorという文字コード/文字種判定器がはいってます。使い方は下のような感じ #include <iostream> #include <fstream> #include <unicode/ucsdet.h> #include <string> int main(int argc, char** argv) { if (argc > 2) re</string></unicode/ucsdet.h></fstream></iostream>…