Change whole Kubuntu distribution from UTF-8 to iso8859-15

Asked by Alexander Kriegisch

I am facing massive problems with Kubuntu 7.10, because I need an iso8859-15@euro system, but the whole distribution seems to be configured for UTF-8. As interoperability with an embedded platform which I am developing code for, connecting to via smbfs, NFS, ssh etc. is my primary goal and that embedded platform is based on iso-8859-1/15, I need to change all consoles, terminals, text editors, fonts, mc, ssh, smbmount and so forth to use and display iso8859-1 or iso8859-15, repectively.

I really like the idea of the whole universe using unicode, but obviously this still is not the case, so iso8859-15@euro is the best choice for me, I guess.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kdebase Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alexander Kriegisch (alexander-kriegisch) said :
#2

The question is still of importance and in no way resolved or expired.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alexander Kriegisch (alexander-kriegisch) said :
#4

Still

Revision history for this message
Oliver Muth (dr-o-muth) said :
#5

Hi Alexander,

on Debian this would be "dpkg-reconfigure locales". So I would suspect that "sudo dpkg-reconfigure locales" should do.
I am not at my Ubuntu box right now, so I cannot check. But give it a try.

Oliver

Revision history for this message
Alexander Kriegisch (alexander-kriegisch) said :
#6

I know this command, and in another Debian-based distribution it at least did part (not all!) of the job. But on my Kubuntu 7.10, it just regenerates the charsets which are already installed, I do not get the chance to select any options like I remember from another distribution. No interactivity - no changes.

Revision history for this message
Oliver Muth (dr-o-muth) said :
#7

Hallo Alexander

Yes, I just tried that, too - and you are right. It's not interactive, and instead it creates all locales for all other languages I do not need.
Does not exactly look like this change in Ubuntu fixed a bug in Debian or glibc here...
But it's all a matter of viewpoint:
https://wiki.ubuntu.com/LocalesThatDontSuck

Try this:
locale-gen de_DE@euro

This is the belocs locale-gen, which is used by Ubuntu. It works differently than the "standard" locale-gen.
Maybe you want to read the manpage for locale-gen and don't just rely on my words ;-)

Best regards

Oliver

Revision history for this message
Alexander Kriegisch (alexander-kriegisch) said :
#8

Well, actually, I already have ISO-8859-15 running already, but I really
do not remember which of the twenty web pages I read and the different
things I tried really did the trick. I would really like to know how to
do it right. As it took me so long, I think I won't experiment any more
so as to avoid breaking the whole thing again. I also tried locale-gen,
I guess, but I cannot say for sure. What I do know, though, is that
accessing an NTFS partition now shows special characters like German
umlauts correctly in terminal windows and MC, but wrong in KDE GUI apps
like Dolphin. There does not seem to be a way to get everything working,
but I guess that is another story. Linux is great, but hey - there are
some thing which are definitely easier under Windows...

Revision history for this message
Oliver Muth (dr-o-muth) said :
#9

Hi Alexander

I don't use kde that often, but I remeber that a couple of years ago I had a problem with a kde app that did not start with the system wide locale, even though I had both /etc/default/locale and /etc/environment set to my new locale ...
Maybe there is a locale setting in kde that is being sourced by kde programs.
I just changed the locale setting for that program explicitely. I changed the menu entry for that program form <program> to
env locale de_DE <program>

Best regards from the North

Oliver

Can you help with this problem?

Provide an answer of your own, or ask Alexander Kriegisch for more information if necessary.

To post a message you must log in.