.Net不支持。
尝试IMultiLanguage2::DetectInputCodepage。这个是IE的API。你也可以寻找别的检测文件字符集的软件,看看它们是否有API。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP