Shift_JISとUnicodeの変換用関数 環境 Visual C++.NET 2003 Windows上でShift_JISのようなマルチバイト文字とUnicodeとの変換を行う関数を紹介します。 これはMFCやATLが使えない場合の関数です(例えばVisual C++ 2005 Express Edition使用時のように)。 MFCが使えればCStringを使うべきですし、ATLを使えばCW2AやCA2Wを使うべきでしょう。 まずはUnicodeからマルチバイト文字への変換関数です。 std::string UnicodeToMultiByte(const std::wstring& Source, UINT CodePage = CP_ACP, DWORD Flags = 0); std::string UnicodeToMultiByte(const std::wstring
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く