Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi localizzazione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Sun Nov 13, 2005 7:33 pm    Post subject: Problemi localizzazione Reply with quote

Ho dato un'occhiata alle varie faq per la localizzazione ma ci sono un paio di questioni che non mi sono ancora chiare.

Innanzitutto preciso di aver selezionato nella configurazione del kernel le NLS che ritenevo opportune. Un'altra cosa e' che non capisco come mai nella mia installazione non riesca trovare nella dir /etc/env.d/ il file 02locale (credo che il numero sia puramente indicativo).

Preciso inoltre di avere una tastiera a layout americano e che non e' mia intenzione avere le applicazioni localizzate.

Dopo questa etyerna introduzione :) :D arrivo al problema: a volte (non sempre) girando per vari siti (anche questo forum) alcune lettere accentate (che di norma le vedo correttamente) assumono una strana forma tipo (A-strana + altri puntini). Successo mica anche ad uno di voi? :?: :?:

Inoltre alcuni file passati via samba da amici utilizzando gnome un'eventuale lettera accentata viene sostiuita automaticamente con un quadratino e viene aggiunta alla fine del file la dicitura [invalid encoding]. C'e'rimedio?

La parte del config del kernel riguardante le NLS la riporto qua sotto. Aggiungo che sono stato conservativo nella scelta e non le ho eliminate tutte:

Code:

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y


Help :) :)
Back to top
View user's profile Send private message
syntaxerrormmm
Guru
Guru


Joined: 17 Apr 2005
Posts: 449
Location: Romano di Lombardia - BG - ITALY

PostPosted: Sun Nov 13, 2005 7:47 pm    Post subject: Re: Problemi localizzazione Reply with quote

Dun wrote:
Innanzitutto preciso di aver selezionato nella configurazione del kernel le NLS che ritenevo opportune. Un'altra cosa e' che non capisco come mai nella mia installazione non riesca trovare nella dir /etc/env.d/ il file 02locale (credo che il numero sia puramente indicativo).
Ovvio che non lo trovi, credo che sia un file che devi creare tu con le tue specifiche. Il numero non è esattamente indicativo, ma indica la posizione nella catena di valutazione dei files nella cartella /etc/env.d. Il resto del nome invece lo è, tant'è che il mio si chiama 02_locales eppure funziona lo stesso :) Il mio è:
Code:
LANG="it_IT"
LC_ALL="it_IT.utf8"
MM_CHARSET="it_IT.utf8"


Dun wrote:
Dopo questa etyerna introduzione :) :D arrivo al problema: a volte (non sempre) girando per vari siti (anche questo forum) alcune lettere accentate (che di norma le vedo correttamente) assumono una strana forma tipo (A-strana + altri puntini). Successo mica anche ad uno di voi? :?: :?:

Inoltre alcuni file passati via samba da amici utilizzando gnome un'eventuale lettera accentata viene sostiuita automaticamente con un quadratino e viene aggiunta alla fine del file la dicitura [invalid encoding].
E' questione solamente dell'encoding utilizzato nella scrittura e nella lettura. Se le due codifiche sono diverse, ci sarà qualche problema. Questo è vero soprattutto per ISO-8859-1{,5} e UTF-8.

Dun wrote:
C'e'rimedio?
Code:
man iconv
e
Code:
emerge -av convmv
man convmv


Ciao.
_________________
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Back to top
View user's profile Send private message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Sun Nov 13, 2005 8:03 pm    Post subject: Reply with quote

Grazie mille. Mi hai chiarito le idee :) Non volevo che fosse necessario impostare per tutte le applicazio i la lingua italiana :D

Grazie ancora :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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