Transliterator Class
Namespace: PTS.Text
Assembly: PTS.Text.dll
Provides static character maps for unicode character conversion to ascii.
Syntax
public static class Transliterator
Inheritance
System.Object
Transliterator
Methods
Transliterate(String)
Evaluates every character in given string and replaces each character with ascii equivalent if found in static maps. The method is primarily useful for url strings that do not allow non-ascii characters.
Declaration
public static string Transliterate(this string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to transliterate. |
Returns
Type | Description |
---|---|
System.String | A new instance of string that represents ascii transliterated version of the original input. |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()