Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] KDE, UTF and cedilla [ç] instead of accentuated [ć]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
germanobax
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2005
Posts: 96

PostPosted: Fri Feb 10, 2006 5:34 am    Post subject: [SOLVED] KDE, UTF and cedilla [ç] instead of accentuated Reply with quote

How can I do that? In Gnome it works perfectly. The issue only happens when I use KDE.
_________________
Life is a Sexually Transmitted Disease, with 100% mortality.


Last edited by germanobax on Fri Feb 10, 2006 5:52 am; edited 2 times in total
Back to top
View user's profile Send private message
germanobax
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2005
Posts: 96

PostPosted: Fri Feb 10, 2006 5:48 am    Post subject: Reply with quote

Ok, I made it:

1- Edit /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose

2 - Then, find the lines:
Code:

...
 <dead_acute> <c> : "ć" U0107 # LATIN SMALL LETTER C WITH ACUTE
...
 <dead_acute> <C> : "Ć" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
...


3 - These lines must be respectively altered to:

Code:

...
 <dead_acute> <c> : "ç" U00E7 # LATIN SMALL LETTER C WITH CEDILLA
...
 <dead_acute> <C> : "Ç" U00C7 # LATIN CAPITAL LETTER C WITH CEDILLA
...


4 - Then, you just need to restart the system.
_________________
Life is a Sexually Transmitted Disease, with 100% mortality.
Back to top
View user's profile Send private message
dedalu
n00b
n00b


Joined: 11 Jan 2007
Posts: 8

PostPosted: Thu Jan 25, 2007 9:42 pm    Post subject: Using .XCompose Reply with quote

Old topic, but I am going to UTF-8 today... so my ¢.

This is a kde bug, I think... If LANG=pt_BR, then /usr/share/X11/locale/pt_BR.UTF-8/Compose should be the choice, not the en_US one; and all other but kde apps use it (uxterm, firefox etc.). Since new emerges will overwrite /usr/share/X11/locale/en_US.UTF-8/Compose, we should workaround with ~/.XCompose:

Code:
include "/usr/share/X11/locale/pt_BR.UTF-8/Compose"

<dead_acute> <c> : "ç" U00E7 # LATIN SMALL LETTER C WITH CEDILLA
<dead_acute> <C> : "Ç" U00C7 # LATIN CAPITAL LETTER C WITH CEDILLA


Cya.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum