Class LatinGlyphsUtility
Condenses and expands Latin glyphs.
public static class LatinGlyphsUtility
- Inheritance
-
LatinGlyphsUtility
- Inherited Members
Fields
BasicLatinGlyphs
A collection of ProgramGlyph, representing the Latin Glyphs of the Basic Latin Unicode group.
public static readonly Lazy<ProgramGlyph[]> BasicLatinGlyphs
Field Value
- Lazy<ProgramGlyph[]>
BeyondBasicLatinGlyphs
A collection of ProgramGlyph, representing the Latin Glyphs of the General Punctuation, Latin Extended-B, etc. Unicode groups.
public static readonly Lazy<ProgramGlyph[]> BeyondBasicLatinGlyphs
Field Value
- Lazy<ProgramGlyph[]>
Methods
Condense(string?, bool)
Condenses selected decimal entities into their Latin glyph equivalent.
public static string? Condense(string? input, bool basicLatinOnly)
Parameters
inputstringThe input string containing the decimal entities.
basicLatinOnlyboolWhen
true, process input for ProgramGlyph array whereUnicodeInteger < 128.
Returns
Expand(string?, bool)
Expands selected Latin glyphs into their decimal entity equivalent.
public static string? Expand(string? input, bool basicLatinOnly)
Parameters
inputstringThe input string containing the glyphs.
basicLatinOnlyboolWhen
true, process input for array of ProgramGlyph whereUnicodeInteger < 128.
Returns
GetGlyphs(bool)
Gets the array of ProgramGlyph.
public static ProgramGlyph[] GetGlyphs(bool basicLatinOnly)
Parameters
basicLatinOnlybool
Returns
RemoveUrlEncodings(string, bool)
Replaces any Utf8UrlEncoding found in the input with Empty.
public static string RemoveUrlEncodings(string input, bool basicLatinOnly)
Parameters
inputstringThe input.
basicLatinOnlyboolWhen
true, process input for array of ProgramGlyph whereUnicodeInteger < 128.
Returns
RemoveUrlEncodings(string, bool, bool)
Replaces any Utf8UrlEncoding found in the input with Empty.
public static string RemoveUrlEncodings(string input, bool includeWindows1252UrlEncoding, bool basicLatinOnly)
Parameters
inputstringThe input.
includeWindows1252UrlEncodingboolWhen
true, search for Windows1252UrlEncoding strings in the input.basicLatinOnlyboolWhen
true, process input for array of ProgramGlyph whereUnicodeInteger < 128.