modified for MSVC(Intel)

I modified for Intel Compiler on MSVC environment.
- modified the configuration macros used in the test programs in "tests.cmake" for MSVC environment.
- changed the encoding from UTF8 to UTF8 with BOM for Windows environment.