"Alex Leduc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to load ASCII files that contain characters from the French
> language in a way that is independant of whatever Locale the machine is
> configured to use.
[snip]
> What I'd like to be able to do is load the french string with the right
> characters regardless of what's the machine's default Locale. What's the
> way to programmatically decide what Locale to use with all ASCII strings?
If you know what's the code page of the file you can try to set
StreamReader's CurrentEncoding property to ASCIIEncoding with the CodePage
set to file's code page. [Warning! haven't tried it myself

]
OTOH if you want to read arbitrary file in arbitrary language I'm afraid
it's not possible... (or, at least, I don't know the way...)