Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Teclado: Português (BR) com teclado US.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
paulomario77
n00b
n00b


Joined: 19 Jun 2020
Posts: 1

PostPosted: Sat Jun 20, 2020 6:04 pm    Post subject: Reply with quote

Muito obrigado, amigo! Após ter testado diversos métodos, sua solução foi a definitiva.

Abraço,
Paulo Mario

ferreirafm wrote:
Encontrei uma solução definitiva para quem deseja utilizar o sistema unicode UTF-8 sem os problemas de acentuação dos cês.
Primeiro verificar as variáveis:
Code:
labrador pt_BR.UTF-8 # locale
LANG=pt_BR.UTF-8
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=pt_BR.UTF-8

Aplicar o patch no arquivo /usr/share/X11/locale/pt_BR.UTF-8/Compose.
Code:
labrador pt_BR.UTF-8 #more Compose.patch
--- Compose.original.08042009   2009-04-08 08:08:47.000000000 -0300
+++ Compose     2009-04-10 17:21:18.000000000 -0300
@@ -619,14 +619,8 @@
 <Multi_key> <semicolon> <A>    : "Ą" U0104 # LATIN CAPITAL LETTER A WITH OGONEK
 <dead_ogonek> <a>      : "ą" U0105 # LATIN SMALL LETTER A WITH OGONEK
 <Multi_key> <semicolon> <a>    : "ą" U0105 # LATIN SMALL LETTER A WITH OGONEK
-<dead_acute> <C>       : "Ç" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
-<Multi_key> <acute> <C>        : "Ć" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
-<Multi_key> <apostrophe> <C>   : "Ć" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
-<combining_acute> <C>  : "Ć" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
-<dead_acute> <c>       : "ç" U0107 # LATIN SMALL LETTER C WITH ACUTE
-<Multi_key> <acute> <c>        : "ć" U0107 # LATIN SMALL LETTER C WITH ACUTE
-<Multi_key> <apostrophe> <c>   : "ć" U0107 # LATIN SMALL LETTER C WITH ACUTE
-<combining_acute> <c>  : "ć" U0107 # LATIN SMALL LETTER C WITH ACUTE
+<dead_acute> <C>        : "Ç" U00c7 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
+<dead_acute> <c>        : "ç" U00e7 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
 <dead_circumflex> <C>  : "Ĉ" U0108 # LATIN CAPITAL LETTER C WITH CIRCUMFLEX
 <Multi_key> <asciicircum> <C>  : "Ĉ" U0108 # LATIN CAPITAL LETTER C WITH CIRCUMFLEX
 <dead_circumflex> <c>  : "ĉ" U0109 # LATIN SMALL LETTER C WITH CIRCUMFLEX
@@ -1654,38 +1648,6 @@
 <combining_belowdot> <b>       : "ḅ" U1E05 # LATIN SMALL LETTER B WITH DOT BELOW
 <U0331> <B>    : "Ḇ" U1E06 # LATIN CAPITAL LETTER B WITH LINE BELOW
 <U0331> <b>    : "ḇ" U1E07 # LATIN SMALL LETTER B WITH LINE BELOW
-<dead_acute> <Ccedilla>        : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <Ccedilla> : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <Ccedilla>    : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <dead_cedilla> <C>        : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <Multi_key> <comma> <C>   : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <Multi_key> <cedilla> <C> : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <dead_cedilla> <C> : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <comma> <C>        : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <cedilla> <C>      : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <dead_cedilla> <C>    : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <comma> <C>   : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <cedilla> <C> : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <Ccedilla>   : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <dead_cedilla> <C>   : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <Multi_key> <comma> <C>      : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <Multi_key> <cedilla> <C>    : "Ḉ" U1E08 # LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <ccedilla>        : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <ccedilla> : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <ccedilla>    : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <dead_cedilla> <c>        : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <Multi_key> <comma> <c>   : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<dead_acute> <Multi_key> <cedilla> <c> : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <dead_cedilla> <c> : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <comma> <c>        : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <acute> <cedilla> <c>      : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <dead_cedilla> <c>    : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <comma> <c>   : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<Multi_key> <apostrophe> <cedilla> <c> : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <ccedilla>   : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <dead_cedilla> <c>   : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <Multi_key> <comma> <c>      : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
-<combining_acute> <Multi_key> <cedilla> <c>    : "ḉ" U1E09 # LATIN SMALL LETTER C WITH CEDILLA AND ACUTE
 <dead_abovedot> <D>    : "Ḋ" U1E0A # LATIN CAPITAL LETTER D WITH DOT ABOVE
 <Multi_key> <period> <D>       : "Ḋ" U1E0A # LATIN CAPITAL LETTER D WITH DOT ABOVE
 <dead_abovedot> <d>    : "ḋ" U1E0B # LATIN SMALL LETTER D WITH DOT ABOVE

O patch vai remover todas as referências de cês acentuados e inserir o código UTF-8 correto para os cês cedilhas maiúsculo e minúsculo. Removi todas as referências de cês acentuados, pois não tive paciência de procurar os códigos UTF-8 deles.
Boa sorte,
Fred
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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