I think there is at GERMANY codepage bug on the vivaclipper site.
I guess it should be:
German 850 DE
German ISO-8859-1 DEISO
German Windows-1252 DEWIN
In my opinion, HUWIN, PLWIN, CSWIN, HRWIN (not HR1250 - another bug at viva clipper), SKWIN, SLWIN are the same Windows-1250 code page and contain the same set of characters. So for this encoding it is enough to use one of them, no matter if the language is: HU, PL, CS, HR, SK, SL.
The same will be true for DEWIN, FRWIN, ENWIN whose code page is Windows-1252.
Besides, I think, you're probably making it too complicated: the current code page can be read from Locale Information with LOCALE_IDEFAULTANSICODEPAGE
There is one more question, is the filename UTF encoded? The file may come from another OS, e.g. MacOS. Then you have to use UTF8 or UTF8EX CP
Clarification: The LCID list that I have placed may be incomplete or contain incorrect values. I found one on the internet.
