S
sweetpotatop
Hello,
I have a txt file which has a few lines of special characters:
This is A line from the text file:
¤Ù¦³‡-áŧÐþ®ÎÙ¡©ÌÄð‰äûñ·èãûóÂʬ‡Šœ†£ÜÆÜÑ¥ŽÆþ†ÓÖÁ€À¤ÃÞ˜æ²ÐůêÁ¿ö'÷·Û£¨™üˆ¾©÷±ëªÐ±'±ä±Ñ¬ˆõÏ ðüŽ¥üŠÙ',,™±¯Ø·‡±¦êŽÍÐÞã¢×®
When I use
sr.ReadLine (where "sr As StreamReader"), it is not giving me this line
at all, it gets cut and the characters are totally different.
But when I try a real text file with normal characters, it reads
everything correctly.
How can I read a file, one line at a time and be able to give me the
correct data in VB.NET?
Thanks in advance. You help would be greatly appreciated.
I have a txt file which has a few lines of special characters:
This is A line from the text file:
¤Ù¦³‡-áŧÐþ®ÎÙ¡©ÌÄð‰äûñ·èãûóÂʬ‡Šœ†£ÜÆÜÑ¥ŽÆþ†ÓÖÁ€À¤ÃÞ˜æ²ÐůêÁ¿ö'÷·Û£¨™üˆ¾©÷±ëªÐ±'±ä±Ñ¬ˆõÏ ðüŽ¥üŠÙ',,™±¯Ø·‡±¦êŽÍÐÞã¢×®
When I use
sr.ReadLine (where "sr As StreamReader"), it is not giving me this line
at all, it gets cut and the characters are totally different.
But when I try a real text file with normal characters, it reads
everything correctly.
How can I read a file, one line at a time and be able to give me the
correct data in VB.NET?
Thanks in advance. You help would be greatly appreciated.