Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ena mikro provlhma me ta locales
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Greek
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Thu Nov 11, 2004 6:03 pm    Post subject: Ena mikro provlhma me ta locales Reply with quote

Xairetai,

Anagkathka na egkatasthsw to Gentoo kai exw kana dyo provlhmatakia me to locales kai fysika me ta Ellhnika.

An grapsw locale, pernw to epomeno mynhma
Code:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=
LC_CTYPE=el_GR
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=el_GR
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Gia to LC_CTYPE and to LC_COLLATE exw dhmioyrghsei ena arxeio sto /etc/env.d opoy kai toys ana8etei thn timh poy exoyn.

3erei kanenas giati moy dinei to mynhma gia to LC_CTYPE? Mporei ayto na einai ypey8yno gia to oti den mporw na tonizw ths le3eis?
Xreiazetai na 8esw to LANG, kai poio arxeio 8a prepei na peira3w?

Epishs otan trexw ton emacs, pernw to epomeno warning
Code:

Warning: locale not supported by C library, locale unchanged

To mono poy peira3a sta locales htan to LC_CTYPE kai LC_COLLATE.

Mporei kapoios na me voh8hsei?

Euxaristw
Back to top
View user's profile Send private message
Slammer
Moderator
Moderator


Joined: 28 Mar 2003
Posts: 270
Location: Greece

PostPosted: Fri Nov 12, 2004 12:14 am    Post subject: Reply with quote

Τι τιμή εχεις βάλει στα LC_* ???
Δειξε το αρχειο που τα δηλωνεις...

Δες και το thread
https://forums.gentoo.org/viewtopic.php?t=237808

και σχετικα με τα UTF-8 θα σου φανει χρησιμο κα αυτο (ενα τμημα τουλαχιστο):
https://forums.gentoo.org/viewtopic.php?t=243722
_________________
Keep Slamming...
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Fri Nov 12, 2004 6:02 pm    Post subject: Reply with quote

An tre3w locale vlepw to e3hs:

Code:

LANG=en_US
LC_CTYPE=el_GR
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=el_GR
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=


To arxeio /etc/env.d/99greek periexei ta akoloy8a
Code:

LANG=en_US
LC_CTYPE=el_GR
LC_COLLATE=el_GR


Exw egkatasthsei ta corefonts, to mono poy den exw kanei einai na dhlwsw sto sorg.conf to syndyasmo gia allagh plhktrologioy. Ayto de to exw kanei giati to programmataki poy exei to KDE doyleyei h mia xara. Einai pio swsto na pw oti doyleye mia xara. Twra poy exw kanei ena fresh install toy Gentoo, de doyleyei
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Nov 14, 2004 7:48 am    Post subject: Reply with quote

Pws einai dynaton otan trexw ws root/user thn entolh locale, na pairnw diaforetiko apotelesma?

Ws root
Code:

LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=


Ws user
Code:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=
LC_CTYPE=el_GR
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=el_GR
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


Ta .bashrc toy root kai toy user einai ta idia
Back to top
View user's profile Send private message
ag_x
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 142
Location: Self Sarkarm.

PostPosted: Mon Nov 15, 2004 10:23 am    Post subject: Reply with quote

Δοκίμασε το παρακάτω αρχείο 99greek.
Code:
LANG="C"
LC_CTYPE="el_GR"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="el_GR"
LC_MONETARY="el_GR"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="el_GR"
LC_IDENTIFICATION="en_US"
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Nov 16, 2004 1:24 am    Post subject: Reply with quote

Den 3erw an to LANG="C" voh8hse H to oti etrexa source /etc/profile ws user, alla twra den exw kanena provlhma me ta Ellhnika H me ton emacs.

Ευχαριστώ
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Nov 16, 2004 1:30 am    Post subject: Reply with quote

Kati akomh.

Exw vallei tis swstes entoles sto fstab wste na mporw na dw partitions me Ellhnikoys xarakthres. Twra an anoi3w ton konqueror kai paw se ayto to partition kai kanw de3i click sto arxei ome toys Ellhnikoys xarakthres, oi plhrofories (einai mp3 arxeio) 8a einai se ASCII. Ayto exei na kanei me ta fonts sto KDE?
Mporei kapoios na moy pei pws na alla3w ayta ta fonts se kapoia alla ta opoia na yposthrizoyn Ellhnika?

Euxaristw.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Greek 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