Friedemann Kleint schrieb:
> Hi,
>
>   
>> Norbert Heinzelmann schrieb:
>>     
>>> Hello,
>>>
>>> I have the following problem: In the output of the subversion diff or
>>> describe window, german umlauts are not showed correctly. Did anybody
>>> experience the same behaviour or is there a solution for this problem or
>>> is it a bug?
>>>
>>> The output looks like this:
>>>
>>> -    openAct = new QAction(QIcon(":/images/open.png"), tr("&�ffnen..."),
>>> this);
>>> +   openAct = new QAction(QIcon(":/images/open.png"), tr("&�ffnen..."),
>>> this);
>>>
>>> If I do the same thing with the svn tools the output is correct.
>>>
>>> Regards,
>>>
>>> Norbert
>>>
>>>       
>
>   
>> Can nobody confirm this problem, or do you need more information?
>>     
>
> Qt Creator tries to use the same encoding that was used for a source file 
> when 
> showing a diff. You can set this in the project mode under "Editor 
> Settings/Encoding". Assuming the setting is correct, could you please specify:
>   
Encoding is set to utf8
> - Platform
>   
Gentoo Linux, Qt 4.5.2, Qt-Creator 1.2.1
> - Platform language and encoding (Linux: $LANG-variable)
>   
LANG="de_DE.UTF-8"

> - Encoding of the project 
>   
file mainwindow.cpp:
mainwindow.cpp: UTF-8 Unicode English text, with CRLF line terminators

Some of the files that contains no umlauts gave the result:
ASCII text, with CRLF line terminators


> - Encoding of the svn output (assuming Linux/Unix): Run diff in on a source 
> file 
> with Umlauts, redirect to a file and run the 'file' command on it (on 
> Windows, 
> cygwin provides a 'file' command)
>   
file diff_mainwindow.txt:
diff_mainwindow.txt: UTF-8 Unicode Java program text
> Thanks,
> Friedemann
>   
Now I can solve the problem temporarily, if I change the encoding of the
svn output to  ISO-8859-15 and run it again the umlauts  are showed
correctly.

Regards,

Norbert

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to