Culture-Sensitive VB.NET Property
using System.Text
Encoding.Unicode
Internationalization (I18n) Property Overview
Returns an encoding for the UTF-16 format using the little endian byte order, where the least
significant byte of the Unicode character comes first, followed by the most significant byte.
See Microsoft's
MSDN online documentation for more information.
I18n Issues
Use of this property probably does not pose an I18n problem.
Globalyzer detects it by default because during the internationalization process
it is important that you are aware of all of the places in your code where you are
performing character encoding
conversions. Further, if Encoding.Unicode is being used to convert character
data intended for use on a Macintosh platform, it is important that the endian
value be properly passed to the constructor. Windows systems, for example, internally
use UTF-16 little endian byte order, while Macintosh systems use big endian, which is the
opposite byte ordering.
VB.NET Encoding Information
|