Use the recommended name-based NLS API rather than legacy functions taking LCID. Preserve compatibility with Windows XP by keeping the old code for now, but it will be removed after 3.2.0.