1
Vote

Can't write UTF-8 text in form!

description

Hello
When I change any text in form (name , button and ...) to Persian text (for example 'فارسی' or 'کلید') and run the project I see ????? and the program don't show the text correctly.

comments

mersadking wrote Dec 21, 2012 at 9:40 PM

like this:

button1

        # 
        self._button1.Location = System.Drawing.Point(130, 135)
        self._button1.Name = 'button1'
        self._button1.Size = System.Drawing.Size(75, 23)
        self._button1.TabIndex = 0
        self._button1.Text = 'کلید1'
        self._button1.UseVisualStyleBackColor = True
        self._button1.Click += self._button1_Click

wrote Feb 21, 2013 at 11:11 PM