Dear Christian, On Mo, 24 Dez 2007, Christian Dalbjerg wrote: > Thanks alot for all your work, its appreciated! When entering locale > in ubuntu 7.10 I get LANG=en_DK.UTF-8, which causes me no problems > since kile is set to use encoding KDEDefault, which im guessing is > refering to what YYYY=DK.UTF-8 is.
more or less, YYYY=UTF-8, locales consist of aa[_BB].CCCC aa ... 2 letter language code BB ... 2(?) letter country code the _BB is not necessary CCCC ... character encoding So that means that your are working with English language in Danemark, with UTF-8 encoding. > But when entering locale in ubuntu 8.04 I get LANG=C. Is it then Ups, well, then everything is though to be in ASCII. > correctly understood that the problem arrises because kile is trying > to open the files as if they were encoded in whatever LANG=C means? ASCII > And what to do about it? Im not sure, but I think the the bug report > should be filed against ubuntu in general? See below ... > I mean, it would be nice if kile could autodetect the encoding, but it > isn't really a bug in kile, more like a feature request. Right, feature request. > I have installed ubuntu 7.10 and 8.04 the exact same way so I don't > understand why the LANG settings are different. It would be nice if > this was changed back before final release. Sorry I cannot help you here since I am Debian maintainer and only helping out on the Ubuntu side a bit. I don't know nothing about the internals of the installer and why the LOCALE settings weren't done right. But it is definitely worth a bug report. > In the meanwhile, which one of the two options do you recommend? > The first one seems the easiest, is there any reason to prefer the second? I am not sure about the way to fix it on Ubuntu, but I would suggest: sudo /usr/sbin/dpkg-reconfigure -plow locales then select the en_DK.UTF-8 and maybe some others you might have use for. And AFAIR at the end it should ask you about the default locale for your system. After that restarting the computer (or restarting the display manager gdm/kdm/whatever-dm) should give you the right setting. If not, there might be something saved in your local configuration files in ~/.?something. But that is not for me to debug. I hope that helped a bit Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <[EMAIL PROTECTED]> Vienna University of Technology Debian Developer <[EMAIL PROTECTED]> Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- And wow! Hey! What's this thing coming towards me very fast? Very very fast. So big and flat and round, it needs a big wide sounding word like... ow... ound... round... ground! That's it! That's a good name - ground! I wonder if it will be friends with me? --- For the sperm whale, it wasn't. --- Douglas Adams, The Hitchhikers Guide to the Galaxy -- Font problems with .tex files and special (danish) characters https://bugs.launchpad.net/bugs/178173 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs