C# Класс System.Globalization.Tests.Unicode_Win7_IdnaTest

contained in Data\Unicode_Win7\IdnaTest_Win7.txt The structure of the data set is a semicolon deliminated list with the following columns: Column 1: type - T for transitional, N for nontransitional, B for both Column 2: source - the source string to be tested Column 3: toUnicode - the result of applying toUnicode to the source, using the specified type Column 4: toASCII - the result of applying toASCII to the source, using nontransitional If the value of toUnicode or toASCII is the same as source, the column will be blank.
Наследование: IConformanceIdnaTest
Показать файл Открыть проект

Открытые методы

Метод Описание
Unicode_Win7_IdnaTest ( string line, int lineNumber ) : System.Text

Приватные методы

Метод Описание
ConvertStringToType ( string idnType ) : IdnType
EscapedToLiteralString ( string escaped, int lineNumber ) : string

This will convert strings with escaped sequences to literal characters. The input string is expected to have escaped sequences in the form of '\uXXXX'. Example: "a\u0020b" will be converted to 'a b'.

Описание методов

Unicode_Win7_IdnaTest() публичный Метод

public Unicode_Win7_IdnaTest ( string line, int lineNumber ) : System.Text
line string
lineNumber int
Результат System.Text