I've been working on a project where I need to read text files using Visual Basic, but I've encountered an issue that the approach only seems effective with English text. Here's the code snippet I've been using:
Dim fileReader As System.IO.StreamReader
fileReader = My.Computer.FileSystem.OpenTextFileReader(FilenameToBreak)
Dim stringReader As String
stringReader = ...
The problem arises when the input file contains Unicode characters; it appears that my current method converts them to ANSI, which is not suitable for files containing non-English characters. To further explore and find a solution to this issue, you can follow my progress or provide any insight on this detailed discussion. Your expertise or suggestions would be highly appreciated as I navigate through enhancing the functionality of my application to support Unicode text effectively.