c# - How read form file Text language Arabic -


i have text file contains single word language : arabic want extract

my code is:

 string text = system.io.file.readalltext(@"c:\cinprocessing\nom.txt");  console.writeline(text ); 

i have result unknown characters : ????

how can fix it?

thanks,

your code reads text correctly variable text. (debug , see)

however, dispalying arabic characters in windows console issue (check how solve here)


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -