Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Persian
  4. مشکل در یونیکد
Forum Updated to NodeBB v4.3 + New Features

مشکل در یونیکد

Scheduled Pinned Locked Moved Persian
2 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahura_24
    wrote on last edited by
    #1

    با سلام
    @
    #include <QtGui>

    int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);

    QPushButton btn;
    btn.setText( QString::fromUtf8("بستن") );
    
    btn.show();
    
    return app.exec();
    

    }
    @

    تو نمایش یونیکد مشکل داره وقتی برنامه اجرا میشه

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bs994
      wrote on last edited by
      #2

      سلام؛
      اول باید یونیکد فایلتو رو UTF-8 قرار بدی
      تو Qt Creator اینطوری:
      Tools -> Options -> Text Editor -> Behavior
      این یونیکد فایلی که باز است رو تغییر نمیده
      برای اون فایلتو با نوت پد یا یه ادیتور دیگه باز کن و با اون یونیکدشو تغییر بده

      p{direction:rtl; text-align:right}. Admin: اگر قبل از متن های ترکیبی فارسی و انگلیسی در فروم از سینتاکس زیر استفاده کنید، کلمات جابجا نمیشوند:
      @p{direction:rtl; text-align:right}. متن@

      Real Eyes Realize Real Lies .

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved