Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I want to add detailed information to the generated exe, but the copyright symbol © Can garbled code, how should I solve it.
QtWS25 Last Chance

I want to add detailed information to the generated exe, but the copyright symbol © Can garbled code, how should I solve it.

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 256 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.
  • Y Offline
    Y Offline
    YUTONG
    wrote on last edited by
    #1

    37b1f9df-a3fe-439f-9e70-f4891c618928-image.png
    1.jpg

    Chris KawaC 1 Reply Last reply
    0
    • Y YUTONG

      37b1f9df-a3fe-439f-9e70-f4891c618928-image.png
      1.jpg

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @YUTONG What is your resource file encoding? Originally rc files were designed to work with UTF-16LE and that is supported across all Windows languages. Although support was later added for other encodings there are numerous known problems with it. Try to encode your file as UTF-16 and see if that solves the issue.

      Y 1 Reply Last reply
      1
      • Chris KawaC Chris Kawa

        @YUTONG What is your resource file encoding? Originally rc files were designed to work with UTF-16LE and that is supported across all Windows languages. Although support was later added for other encodings there are numerous known problems with it. Try to encode your file as UTF-16 and see if that solves the issue.

        Y Offline
        Y Offline
        YUTONG
        wrote on last edited by
        #3

        @Chris-Kawa 1.jpg 2.png
        It does not take effect and will report an error.

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Hi, your BLOCK is "040904b0" means English Unicode but maybe first try Windows 1252:
          "Copyright 2023 \xA9 More text"
          and then perhaps UTF-8:
          "Copyright 2023 \xC2\xA9 More text"

          1 Reply Last reply
          2

          • Login

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