Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QFileDialog::getOpenFileName 得到的路径字符串是什么编码格式?

QFileDialog::getOpenFileName 得到的路径字符串是什么编码格式?

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 255 Views
  • 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.
  • C Offline
    C Offline
    cppdo
    wrote on last edited by
    #1

    Qt6.5
    QString fileName = QFileDialog::getOpenFileName(...)
    这样得到的路径字符串(含中文)是什么编码格式(GBK, UTF8)?
    如何得到系统默认的编码格式?

    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