C# 클래스 Gnu.Inet.Encoding.IDNA

파일 보기 프로젝트 열기: pexip/os-libidn

공개 메소드들

메소드 설명
ToASCII ( string input ) : string

Converts a Unicode string to ASCII using the procedure in RFC3490 section 4.1. Unassigned characters are not allowed and STD3 ASCII rules are enforced. The input string may be a domain name containing dots.

ToASCII ( string input, bool allowUnassigned, bool useSTD3ASCIIRules ) : string

Converts a Unicode string to ASCII using the procedure in RFC3490 section 4.1. Unassigned characters are not allowed and STD3 ASCII rules are enforced.

ToUnicode ( string input ) : string

Converts an ASCII-encoded string to Unicode. Unassigned characters are not allowed and STD3 hostnames are enforced. Input may be domain name containing dots.

ToUnicode ( string input, bool allowUnassigned, bool useSTD3ASCIIRules ) : string

Converts an ASCII-encoded string to Unicode.

메소드 상세

ToASCII() 공개 정적인 메소드

Converts a Unicode string to ASCII using the procedure in RFC3490 section 4.1. Unassigned characters are not allowed and STD3 ASCII rules are enforced. The input string may be a domain name containing dots.
public static ToASCII ( string input ) : string
input string Unicode string.
리턴 string

ToASCII() 공개 정적인 메소드

Converts a Unicode string to ASCII using the procedure in RFC3490 section 4.1. Unassigned characters are not allowed and STD3 ASCII rules are enforced.
public static ToASCII ( string input, bool allowUnassigned, bool useSTD3ASCIIRules ) : string
input string Unicode string.
allowUnassigned bool Unassigned characters, allowed or not?
useSTD3ASCIIRules bool STD3 ASCII rules, enforced or not?
리턴 string

ToUnicode() 공개 정적인 메소드

Converts an ASCII-encoded string to Unicode. Unassigned characters are not allowed and STD3 hostnames are enforced. Input may be domain name containing dots.
public static ToUnicode ( string input ) : string
input string ASCII input string.
리턴 string

ToUnicode() 공개 정적인 메소드

Converts an ASCII-encoded string to Unicode.
public static ToUnicode ( string input, bool allowUnassigned, bool useSTD3ASCIIRules ) : string
input string ASCII input string.
allowUnassigned bool Allow unassigned Unicode characters.
useSTD3ASCIIRules bool Check that the output conforms to STD3.
리턴 string