Click here to Skip to main content
15,896,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to determine which language belongs to by opening the file... please it is possible..

because by opening the file i have to know the code page .. cannot hardcode ..so many languages are available
Posted
Comments
[no name] 22-Apr-15 7:02am    
this is ok any input...please help me

1 solution

Language and Code Page are not necessarily the same thing!

This CP article may help with the techniques for finding the encoding ... Detect Encoding for In- and Outgoing Text[^]

As to the language used you'll probably need to use an on-line tool such as https://code.google.com/p/language-detection/[^] (there are others)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900