Internationalization and localization tools


Culture-Sensitive VB.NET Property

using System.Text

Encoding.UTF7

Internationalization (I18n) Property Overview

Retrieves an encoding for the UTF-7 format.

UTF-7 encoding is a 7-bit form, which supports all Unicode character values. Surrogate pairs are encoded as two separate surrogate code points.

UTF-7 encoding was originally invented to efficiently transmit Unicode characters through email systems optimized for US-ASCII text messages.

See Microsoft's MSDN online documentation for more information.

I18n Issues

Use of this class 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, UTF-7 is different from the form of Unicode used by C# internally (UTF-16, a two-byte Unicode encoding).

UTF-7 encodes Unicode characters with a variable number of bytes per character. This encoding is optimized for the lower 127 ASCII characters, yielding an efficient mechanism to encode English in an international way.

If, once you have examined a particular use of the Encoding.UTF7 property, you determine that it does not pose I18n problems, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.

VB.NET Encoding Information

 

Lingoport internationalization and localization services and software