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. Qt build problem with accents
Qt 6.11 is out! See what's new in the release blog

Qt build problem with accents

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 380 Views 2 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.
  • T Offline
    T Offline
    Teo-Orthlieb
    wrote on last edited by Teo-Orthlieb
    #1

    Hi, first of all, when trying to set my name on this forum the page refused to accept the "é" in Téo so I had to name myself Teo. This is a really awkward behavior to have in 2023, 30 years after the first release of the UTF-8 standard.

    Secondly, I am having a compilation error on my project because lupdate is looking for a file at C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui instead of C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui.
    lupdate error: File 'C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui' does not exist.

    This is also very awkward for the same reasons. I don't expect the forum to be fixed but is there any way to fix my compilation error without moving the whole project to a path without accents ?

    C 1 Reply Last reply
    0
    • T Teo-Orthlieb

      Hi, first of all, when trying to set my name on this forum the page refused to accept the "é" in Téo so I had to name myself Teo. This is a really awkward behavior to have in 2023, 30 years after the first release of the UTF-8 standard.

      Secondly, I am having a compilation error on my project because lupdate is looking for a file at C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui instead of C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui.
      lupdate error: File 'C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui' does not exist.

      This is also very awkward for the same reasons. I don't expect the forum to be fixed but is there any way to fix my compilation error without moving the whole project to a path without accents ?

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by ChrisW67
      #2

      What you have in the path is a UTF8 encoded file name being treated as if it is Win-1252 encoded (ISO 8859-1 Latin 1) or similar. This is likely a Windows code page issue, and a very common issue on Windows.

      Does the file path look right in a DIR C:\Users output?
      Does that change, or your build change, if you execute chcp 65001 (which sets a somewhat limited UTF-8 encoding) in the CMD your run make from?

      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