Forum archive
Enabling utf-8 on TKL GAE
Short version: I can't get the TK GAE app to work properly with utf-8 and frankly am at the end of my wits.
Long version: I am running the TK GAE SDK 11.1 as a development platform as a virtual machine under Ubuntu 11.01 (Natty) with kvm. The host system is strict utf8. Neither the virtual console nor a ssh session (via konsole) does accept german umlauts (äöüß) correctly (that said, an OpenSuSE instance does so without any problems). If I try to use umlauts, there are some reproduceable but strange reactions: "ö" yields "(arg: 6)" on the bottom terminal line; "ä" seems to jump somewhere in the command history, "ß" and "ü" do nothing at all. Vim does accept umlauts, but shows strange behaviour too, like double characters. Such files yield a wild variety of errors even if corrected.
What I've tried so far: Setting and exporting LANG and LANGUAGE, generating the appropriate locale (with locale-gen de_DE.UTF-8), editing /etc/environment, /etc/default/locale, .bashrc and /etc/profile (to include the respective locale strings: again de_DE.UTF-8), dpgk-reconfigure locale, apt-get install language-pack-de; logging out and in and even restarting.
What has changed: Nothing. (Well... now my keyboard works as intended on the virtual console too, but it did so of course in ssh sessions already, and that wasn't really a problem.)
I read some threads in the forum and there it is claimed, that the 11.x patch of appliances should support utf8 out of the box. Nevertheless on a pristine system "locale -a" just gave me "en_GB", "POSIX" and "C". (Now it includes "de_DE.UTF-8" as well.)
Any help and suggestions would be very much appreciated.
That certainly sounds frustrating. As a native English speaker (well sort of anyway - I'm Australian :p) I'm completelky unfamilar with this sort of problem. So I can't really help much. Hopefully someone with some experience in these matters may be of assistance.
In the meantime, the only thing I can suggest is consulting the Ubuntu documentation (as you may or may not be aware, TKL is Ubuntu Lucid/10.04 under the hood). If you manage to find something that works, be great if you post back as no doubt others may have this same problem.