Hindi Numerals don't appear correctly on windows form!

Ahmed Dardeer 1 Reputation point
2023-01-06T15:07:07.767+00:00

I am using Visual studio 2015 Enterprise edition installed on windows 11.

The problem is in windows 7, The Hindi numerals appears correctly in both design and runtime. While in windows 11 they appear correctly at design but not at runtime. Please, check the attachments.
276971-screenshot-2023-01-05-220920.png
276981-screenshot-2023-01-05-220949.png

Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
    2023-01-09T04:49:41.663+00:00

    Hello @Ahmed Dardeer ,

    Welcome to Microsoft Q&A forum.

    May I ask, how did you set this text? Setting in Form1.Designer.cs file with this.Text="XXX" or setting in Properties window with Text = XXX?

    From the first screenshot, the Text was indeed set to 123 in Properties window. Can you confirm that in Form1.Designer.cs file, the Text was set to Hindi numerals? If you try to change the 123 in Properties window to Hindi numerals and save then rebuild your project => run, will it appear correctly at runtime?

    Besides, you are testing in a newly created Windows Forms project right? If it’s not a newly created Windows Forms project, please try to test a newly created WinForm project, and let us know whether this issue is reproducible on your side.

    Feel free to contact us.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.