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. Stray Characters
Qt 6.11 is out! See what's new in the release blog

Stray Characters

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 808 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
    AB18
    wrote on last edited by
    #1

    With our build system three programs touch any given file: make, svn, and QtCreator. Recently I've seen stray characters added to the beginning of files, notably <U+FEFF>. This is not copied code. Has anyone else experienced this when using the QtCreator IDE?

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AB18

      Looks like an UTF-8 BOM.

      Please have a look at Creator > Tools > Options > Text Editor > Behavior > File Encodings if "Add" is selected for UTF-8 BOM.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • A Offline
        A Offline
        AB18
        wrote on last edited by
        #3

        It was set to "Keep if already present". Interesting... I've changed it to "Always delete". Thanks!

        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