SAKAI Masahiro - Win32CodePage Diff
- Added parts are displayed like this.
- Deleted parts are displayed
like this.
= Cの場合
static char buf[2 + 10 + 1];
sprintf (buf, "CP%u", GetACP ());
codeset = buf;
= Rubyの場合
require 'win32api'
GetACP = Win32API.new('kernel32.dll', 'GetACP', '', 'l')
codeset = 'CP' + GetACP.call.to_s
static char buf[2 + 10 + 1];
sprintf (buf, "CP%u", GetACP ());
codeset = buf;
= Rubyの場合
require 'win32api'
GetACP = Win32API.new('kernel32.dll', 'GetACP', '', 'l')
codeset = 'CP' + GetACP.call.to_s