Improved internationalization tests:
    fixed setlocale code to work on Windows.
    Changed to use Japanese translation of "The quick brown fox jumps over the lazy dog" as sample text.
    Added EUC-JP and SHIFT_JIS tests for Japanese text