1 |
David Relson skrev: |
2 |
> On Mon, 21 Jul 2008 15:49:53 +0200 |
3 |
> David Sveningsson wrote: |
4 |
> |
5 |
> ...[snip]... |
6 |
> |
7 |
>> Try running emacs like this: |
8 |
>> LC_ALL="en_US.UTF-8" emacs -nw |
9 |
> |
10 |
> That works nicely! |
11 |
> |
12 |
|
13 |
For reference: |
14 |
Depending on whenever you want to set this setting sitewide or not you |
15 |
can put LC_ALL="en_US.UTF-8" in either /etc/env.d/02locale or in your |
16 |
your profile (~/.bash_profile or similar). Check with locale that LC_ALL |
17 |
has changed to en_US.UTF-8 for all fields. |
18 |
|
19 |
>> If that doesn't help I have no idea why it doesn't work. I am able to |
20 |
>> display Japanese, Chinese and Korean with xterm (with unicode |
21 |
>> enabled) and LC_ALL and LANG set to "sv_SE.utf8". |
22 |
>> |
23 |
>> However, in my .emacs file I have these lines (but I don't think they |
24 |
>> are required any longer): |
25 |
>> |
26 |
>> (set-default-coding-systems 'utf-8) |
27 |
>> (set-terminal-coding-system 'utf-8) |
28 |
>> (set-keyboard-coding-system 'utf-8) |
29 |
> |
30 |
> Doesn't seem to have any effect ... |
31 |
> |
32 |
> |
33 |
> Thanks! |
34 |
> |
35 |
> |
36 |
|
37 |
|
38 |
-- |
39 |
|
40 |
|
41 |
//*David Sveningsson [eXt]* |
42 |
|
43 |
Freelance coder | Game Development Student |
44 |
http://sidvind.com |
45 |
|
46 |
Thou shalt make thy program's purpose and structure clear to thy fellow |
47 |
man by using the One True Brace Style, even if thou likest it not, for |
48 |
thy creativity is better used in solving problems than in creating |
49 |
beautiful new impediments to understanding. |