How to get programmatically the name of a unicode char RRS feed

  • Question

  • User1183903743 posted

    How can I get the description(name) of a char in English? Say it is not composite, or the string it comes from is normalized(form C)

    public static string GetDescription(char c){
    //how to return the description?

    For example GetDescription('ñ') should return "Latin small letter n with a tilde"



    Tuesday, December 20, 2005 2:24 PM

All replies

  • User-1421203536 posted

    possibly you will get an answer to it if you dig into the following :

    URL : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtextencodingclassencodingnametopic.asp

    NET Framework Class Library  

    Encoding.EncodingName Property

    Gets the human-readable description of the encoding.

    [Visual Basic]
    Public Overridable ReadOnly Property EncodingName As String
    public virtual string EncodingName {get;}
    public: __property virtual String* get_EncodingName();
    public function get EncodingName() : String;

    Property Value

    The human-readable description of the encoding.


    An example of an EncodingName is Hebrew (DOS) for code page 862.


    Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

    Tuesday, December 27, 2005 2:59 AM
  • User1183903743 posted


    Thanks for trying.

    I need the individual char names not the encoding name.

    Tuesday, December 27, 2005 5:06 AM