Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Problem with unicode character
posted

Hi,

I entered some unicode character(ex:0xE020,utf-16) in the cell of the ultragrid. When I moved to the next cell, the previous cell show some messy code(square box).

How can I fix this?

It seemed that the cell of grid use a different control when It entered edit mode. It displayed the correct character  in edit mode.

I found that UltraLabel and UltraTextEditor have the same problem while the System.Windows.Forms.TextBox works fine.

My version is 2009.2.

Thanks in advance.

Parents
  • 69832
    Verified Answer
    Offline posted

    I found an article related to this and it looks like some fonts on some operating systems do not fully support the extended unicode character set.

    Our controls use GDI+ by default, but you can switch them over to GDI (I think the property name is TextRenderingMode). GDI might support this, but in any case, this is not an issue with our controls, it is a limitation of GDI+.

Reply Children