1.0.14.37: detect the Windows codepage at runtime