Re: Unicode characters List instead of hexadecimal equivalent

From: Mike Ayers (mayers@celequest.com)
Date: Tue Aug 29 2006 - 17:29:08 CDT

  • Next message: John Hudson: "Re: kurdish sorani"

    Richard Wordingham wrote:
    > Perhaps I've misunderstood the question,

            That's OK. So far everyone has. What the OP wants is basically a .NET
    equivalent of CHR(n), that is, a function which, given a Unicode
    codepoint value, returns the character represented by that value.

            I believe that the best answer is ChrW:

    http://msdn2.microsoft.com/en-us/library/613dxh46.aspx

            ...although this may be VB specific. Note that this appears to
    actually manage UTF-16 code values instead of Unicode codepoints. To go
    from hex values:

    http://msdn2.microsoft.com/en-us/library/f1cbtwff.aspx

            ...works for variable values. I do not know if there is a notation for
    hexadecimal constants, but you can always use the Windows desk
    calculator to find the decimal value.

            HTH,

    /|/|ike



    This archive was generated by hypermail 2.1.5 : Tue Aug 29 2006 - 17:33:13 CDT