짧은 대답 : 인도어를 사용하려면 en_IN.UTF-8
을 인코딩으로 사용해야합니다. 아직 실행하지 않은 경우 sudo locale-gen en_IN
을 실행하는 것을 잊지 마십시오.
오랫동안 답변 : 마침내 우분투 12.04.3을 설치 했으므로이 문제를 테스트 할 수있었습니다. 나는 그것을 테스트 할 때, 로케일은 인코딩을 포함해야한다는 것, 그렇지 않으면 실패합니다
$ for LANG in en_{IN,US}{,.UTF-8,.ISO-8859-1}; do echo LANG=$LANG; guile </dev/null; done
LANG=en_IN
Backtrace:
In ice-9/boot-9.scm:
149: 2 [catch #t #<catch-closure 224b4e0> ...]
157: 1 [#<procedure 21e90f0()>]
In unknown file:
?: 0 [catch-closure]
ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(103 117 105 108 101))'.
LANG=en_IN.UTF-8
GNU Guile 2.0.5-deb+1-1
Copyright (C) 1995-2012 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
LANG=en_IN.ISO-8859-1
warning: failed to install locale: Invalid argument
GNU Guile 2.0.5-deb+1-1
Copyright (C) 1995-2012 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
LANG=en_US
Backtrace:
In ice-9/boot-9.scm:
149: 2 [catch #t #<catch-closure 1def1c0> ...]
157: 1 [#<procedure 1d8d0f0()>]
In unknown file:
?: 0 [catch-closure]
ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(103 117 105 108 101))'.
LANG=en_US.UTF-8
GNU Guile 2.0.5-deb+1-1
Copyright (C) 1995-2012 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
LANG=en_US.ISO-8859-1
warning: failed to install locale: Invalid argument
GNU Guile 2.0.5-deb+1-1
Copyright (C) 1995-2012 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
계략이 – Himanshu
당신이 실행 했는가에 내가 로케일을 설정할 수 en_IN.utf-8 로케일 작동하지 않을 것입니다 'sudo locale-gen en_IN' 먼저? 나는 그것을 시도하고 그것은 나를 위해 일했다. –
확인. 무슨 뜻인지 알 겠어. – Himanshu