You are not logged in.

1

Saturday, November 19th 2005, 5:55pm

Qt4 doesn't get the accents right

I've just switch from my debian sid to kubuntu and and all my buttons that have accents on it such as "é" or "à" display garbage such as Ä¢ instead, how can I get it right? In both kubuntu and debian I started dpkg-reconfigure locales-data and checked every single box and selected enUTF8 as default and I also installed gcc4 locales but it didn't change nothing. did I miss something?

thanx in advance

Patcito

Edit: Note that qtdesigner preview of the dialogues does show the accents right it's only when I compile and execute that they look weird

This post has been edited 1 times, last edit by "patcito" (Nov 19th 2005, 6:02pm)


dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

2

Sunday, November 20th 2005, 11:48am

RE: Qt4 doesn't get the accents right

Can you show us a minimal compilable example?

3

Sunday, November 20th 2005, 3:12pm

RE: Qt4 doesn't get the accents right

Quoted

Originally posted by dimitri
Can you show us a minimal compilable example?

Here it is, there's the source and the bin, maybe you'll need to rework the Makefile it was done on kubuntu.

Thanxx in advance

Patcito

PS: on the button I typed "éàô" and when I execute it shows Ä¢ weird stuff like that.
patcito has attached the following file:
  • test.tar.bz2 (185.05 kB - 515 times downloaded - latest: Oct 21st 2010, 6:38pm)

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

4

Sunday, November 20th 2005, 6:26pm

RE: Qt4 doesn't get the accents right

I can reproduce that with Qt 4.0. This seems to have been fixed in Qt 4.1.

5

Sunday, November 20th 2005, 7:32pm

RE: Qt4 doesn't get the accents right

Quoted

Originally posted by dimitri
I can reproduce that with Qt 4.0. This seems to have been fixed in Qt 4.1.

Thanx a lot for your help, I heard Qt4.1 is going to be released very soon so that's ok for me, i'll just recompile when I get it. It's weird though that is does work on my sid and not on my kubuntu which both have 4.0.1