Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
Im new in linux world and my question may be very easy but for me it is a real problem..
So, Im wonting set new locale in xubuntu...
now I have ru_Ru.UTF-8, but I wont change encoding in KOI8-R...
what I do for this
after this in the terminal became locale ru_RU.KOI8-R and all programs that runs from this terminal have so locale, bat in other terminals there are old locale
Probably you must change the local for all terminals. But why do you want to use KOI8 encoding at all? It is a completely outdated encoding by now and you will probably end up making yourself more problems than you are going to solve. UTF8 supports cyrillic.
That means: I want my system still talk to me in english (LANG) when it comes to error messages and stuff, but please do sorting correctly for german alphabet (COLLATE) and just to be save no character and font mess-ups (CTYPE) with german umlauts.
And please, all this encoded in UTF-8.
If you just need ONE application or terminal specifically be started within your russian environment call it from command line like this:
LANG=ru_RU.utf-8 abiword &
(Just as an example...)
Wether it's ".utf-8" or ".UTF-8" or something else depends on your settings; check with
locale -a | grep ru_RU
what you actually got. I forgot if this is case sensitive or not.
If you only need the command line to use KOI8 encoding the KDE and GNOME ones can easily be switched. In Konsole for example: "Preferences -> Encoding -> Select your encoding" then if you want that Konsole always starts with KOI8 encoding as default "Preferences -> Save" .
I'm working on a open source jukebox, believe me, those old character encodings (includes ISO-8859 variants) make lots of mess and we get lots of user feedback because of various issues with those (ID3 tags for example).
ps
hansalfredche, about koi8.. Im only schoolboy(for this year)) Its my home computer, and I didn't do any real big projects(now)), but my hobby(and I hope, future profession) is programming... now I realy liking lazarus(it's grate), but it's dont work in russian mode whith out koi8 .. also there different servers that use koi8 in ssh.. so I decided change local... You say it's old but all russian linux resource use it(like linux.org.ru, opennet.ru and other). And offcouse working whitch koi8 is faster...
ps2
some time later, when utf8'll become real encoding for russians resource, I probably change my mind
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.