CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2009
    Posts
    29

    ♂ and ♀ characters

    Not sure if this the correct place or not, but since I am making the program in C#, I guess it worth a shot asking here.

    I made a program a few weeks back. It used the ♂ and ♀ characters in a combo box. It displayed them perfectly fine. It also was able to display Japanese text when it was inserted in to a text box. Now I am working on anther program and it also uses the ♂ and ♀ characters as well, but the are showing up as tiny vertical rectangles. I went back and opened my old program and it is doing the same thing. I even tested Japanese test and it shows the same rectangles. I don't think I messed with any kind of settings or something, does anyone know how to make it display the the ♂ and ♀ characters again?

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: ♂ and ♀ characters

    It is matter of font. You need to set appropriate font containing desired glyphs for the combo.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: ♂ and ♀ characters

    Did you save the file with the proper Encoding ¿

  4. #4
    Join Date
    Nov 2009
    Posts
    29

    Re: ♂ and ♀ characters

    Well the thing is my older program displayed the characters before, and not now. It is the same exe, I did not recompile it.

    I also noticed that in applocal, the Asian character sets near the end of the list are all squares, they used to also display the correct characters.

  5. #5
    Join Date
    Nov 2002
    Location
    .NET 3.5 VS2008
    Posts
    1,039

    Re: ♂ and ♀ characters

    Quote Originally Posted by KazoWAR View Post
    Well the thing is my older program displayed the characters before, and not now. It is the same exe, I did not recompile it.

    I also noticed that in applocal, the Asian character sets near the end of the list are all squares, they used to also display the correct characters.
    I get you. I think Boudino has a point though. Have things changed in your system since the last time your existing application was working? Things like Windows update or updates to MS Word basically anything that could affect the font. Have you or anyone else changed any 'Regional and Language Options' settings? What operating system are you using by the way? Also what version of the .NET framework are you using?

  6. #6
    Join Date
    Nov 2009
    Posts
    29

    Re: ♂ and ♀ characters

    Quote Originally Posted by nelo View Post
    I get you. I think Boudino has a point though. Have things changed in your system since the last time your existing application was working? Things like Windows update or updates to MS Word basically anything that could affect the font. Have you or anyone else changed any 'Regional and Language Options' settings? What operating system are you using by the way? Also what version of the .NET framework are you using?
    After my PC restarted, I noticed it working again. =/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured