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

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Fri Jul 20, 2007 2:47 pm    Post subject: Locale Reply with quote

Witam,

Jak moge w swoim systemie ustawic domyslny jezyk wszystkich komunikator na en_US i jednoczescie domyslne kodowanie znakow (w calym systemie) na ISO-8859-2 ?


Dzieki za pomoc!
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Fri Jul 20, 2007 5:04 pm    Post subject: Reply with quote

Może:
Code:
LC_ALL=en_US.ISO-8859-2

Możliwe też, że potrzebujesz zachować polski porządek sortowania znaków itd. W takim wypadku nie ustawiaj LC_ALL, ale indywidualnie ustaw różne wartości innych zmiennych LC_*.

Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Sat Jul 21, 2007 6:54 am    Post subject: Reply with quote

Arfrever wrote:
Może:
Code:
LC_ALL=en_US.ISO-8859-2

Możliwe też, że potrzebujesz zachować polski porządek sortowania znaków itd. W takim wypadku nie ustawiaj LC_ALL, ale indywidualnie ustaw różne wartości innych zmiennych LC_*.

Perduodu linkėjimus
Arfrever



wywala ze locale sa nieprawidlowe...
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Sat Jul 21, 2007 2:33 pm    Post subject: Reply with quote

Spróbuj może tak:
1. Upewnij się, że w "/etc/locale.gen" jest:
Code:
pl_PL.ISO-8859-2 ISO-8859-2
en_US.ISO-8859-2 ISO-8859-2

2. Wykonaj:
Code:
locale-gen

3. Ustaw w jakimś pliku w "/etc/env.d":
Code:
LANG="pl_PL.ISO-8859-2"
LC_CTYPE="pl_PL.ISO-8859-2"
LC_NUMERIC="pl_PL.ISO-8859-2"
LC_TIME="pl_PL.ISO-8859-2"
LC_COLLATE="pl_PL.ISO-8859-2"
LC_MONETARY="pl_PL.ISO-8859-2"
LC_MESSAGES="en_US.ISO-8859-2"
LC_PAPER="pl_PL.ISO-8859-2"
LC_NAME="pl_PL.ISO-8859-2"
LC_ADDRESS="pl_PL.ISO-8859-2"
LC_TELEPHONE="pl_PL.ISO-8859-2"
LC_MEASUREMENT="pl_PL.ISO-8859-2"
LC_IDENTIFICATION="pl_PL.ISO-8859-2"

Nie ustawiaj LC_ALL.
Jeśli chcesz, by data i czas były w "en_US", to zmień LC_TIME odpowiednio.

Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Sat Jul 21, 2007 3:03 pm    Post subject: Reply with quote

juz nie wazne... zrobilem se UTFa ;)
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW 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