On windows how can we determine the charset used by the application? On Unix we can use nl_langinfo(CODESET). Is there any similar mechanism on windows?

TIA,
Vivek.