Results 1 to 2 of 2

Thread: Linguist extract bugs

  1. #1
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Linguist extract bugs

    Qt Creator 2.6.2 based on 4.8.3 based on some flavor of Ubuntu 32-bit

    Have been seeing some notable extract issues with Linguist and wonder if anyone has a work around, short of hand editing the .ts file which is what I have been doing. I was hoping there was some kind of escape sequence or tweaking of the text we could to to make it work correctly. Here is a very good example of what is happening.

    In the code we have this:

    //% "°C"
    addItem(qtTrId("SID_DegreesCelsius_ABB"), 8);
    //% "°F"
    addItem(qtTrId("SID_DegreesFahrenheit_ABB") 9);

    As you can see the text even displays correctly in this message editor. Not so happy in the .ts file though.

    <message id="SID_DegreesCelsius_ABB">
    <source>°C</source>
    <message id="SID_DegreesFahrenheit_ABB">
    <source>°F</source>

    Anybody know of some kind of escape sequence or quoting which will fix this issue? We have quite a few different entries getting luggied up and I would really like to put the issue to bed.

    Thanks,

  2. #2
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Linguist extract bugs

    I found the issue. The .pro file was missing the following line.

    CODECFORTR = UTF-8

Similar Threads

  1. Bugs in QwtMatrixRasterData?
    By alex_sh in forum Qwt
    Replies: 13
    Last Post: 23rd January 2011, 12:59
  2. Two bugs in Qt
    By Chiz in forum General Discussion
    Replies: 3
    Last Post: 10th January 2011, 08:47
  3. Qwt 6.0.0-rc3 bugs
    By Vortex in forum Qwt
    Replies: 1
    Last Post: 30th October 2010, 10:24
  4. [OT] closing of qt bugs
    By luf in forum Qt Programming
    Replies: 0
    Last Post: 26th July 2010, 14:55
  5. 4.3.1 vs 4.1.4 setfixedwidth (bugs??)
    By zorro68 in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 15:21

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.