button text with accents, bug or am I missing sth ?
Posted: Mon Oct 09, 2006 16:16
I don't know if this is a bug or if i am doing something wrong, but when I am setting the text of a button and the text's last or last-1 charachter is an accent like é, è, à, ..., the text of the button won't stop at the closing " but continues. I know i'm not clear, so here you have some screenshots to describe the problem.
Notice that the texts on the left upper side, everything is correct, this is because there are at least 2 chars behind the accent.


and my layout file is encoded as ANSI. I tried it as an UTF-8 file, but in this case, the accets were two strange signs.
Is this a bug or what am I missing ?
Notice that the texts on the left upper side, everything is correct, this is because there are at least 2 chars behind the accent.
Code: Select all
<Window Type="TaharezLook/Button" Name="os/Advanced">
<Property Name="UnifiedPosition" Value="{{1,-105},{1,-305}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,300}}" />
<Property Name="Text" Value="Avancé" />
</Window>

Code: Select all
<Window Type="TaharezLook/Button" Name="os/Advanced">
<Property Name="UnifiedPosition" Value="{{1,-105},{1,-305}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,300}}" />
<Property Name="Text" Value="Avancée" />
</Window>

Code: Select all
<Window Type="TaharezLook/Button" Name="os/Advanced">
<Property Name="UnifiedPosition" Value="{{1,-105},{1,-305}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,300}}" />
<Property Name="Text" Value="Avancées" />
</Window>
and my layout file is encoded as ANSI. I tried it as an UTF-8 file, but in this case, the accets were two strange signs.
Is this a bug or what am I missing ?