Culture-Sensitive C# Method
using System.IO
public override int Read();
public override int Read(char[] buffer, int index, int count);
Internationalization (I18n) Method Overview
The Read method reads the next character or next set of characters from
the input stream.
See Microsoft's
MSDN online documentation for more information.
I18n Issues
If the input stream may contain non-English text, then you will need to
ensure that you have opened it with the correct encoding (a Unicode encoding,
such as UTF-8 or UTF-16, is recommended). In addition, with the parameterized
call to Read , you will want to make sure there are no dependencies on English, as the
file contents could be in a different language.
C# Encoding Information
|