Re: Language in FreeBSD

看板FB_questions作者時間11年前 (2014/06/16 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/7 (看更多)
On Mon, Jun 16, 2014 at 02:09:26AM +0200, ddddd dddd wrote: > Hello. I am trying to change FreeBSD to Norwegian. Setting :lang in ~/.login_conf didn't work. Also, I don't know how much of FreeBSD is actually translated, if any. So if I can't get that to work, getting Norwegian letters working will be enough. When I installed, I selected Norwegian ISO keyboard map, Norwegian with code page 850 weren't available. However the extra Norwegian letters aren't working in csh, sh or vi, they show up as "\330" or something similar, at least in csh (I could give all details of how each program handle the keys if that will help). I've never tried non-US typing, so I can't be too much help, but ... I think you mean "LANG". I have mine set to "en_US.UTF-8", and I imagine you can probably google to get the proper setting for you based on that. Also, the terminal emulator you use is critical. And various terminal emulators have different settings. For example, I believe (I can't check right now) that xterm has a setting to enable utf-8. Other terminal emulators, for example "Putty", would probably have something similar. At the moment I'm using Apple's Terminal.app configured for utf-8 and your characters show up just fine. Fonts are also an issue even if you get the keyboard and terminal configured correctly. > Neither of these two problems are there when running ee in xterm, but xterm still has the identical problem with csh, sh and vi not accepting the extra letters. Also, the Euro sign is not working in ttyv or xterm. I have none problem at all in Firefox, both the letters and Euro sign is working. Probably Firefox is being told to use, or is configured for, utf-8. And since Firefox does its own rendering, it is independent of the problems with xterm, rxvt, or whatever other terminals you are trying. I'm sorry I can't be more help. Hopefully at least one of our non-US people can be more helpful. -- Kevin P. Neal http://www.pobox.com/~kpn/ "14. Re-reading No. 13, I realize that it's quite possible I'm losing my mind. I'm glad that for the most part I'm not aware it's happening." -- from "20 things I'm thankful for": Fortune, Nov 29, 2004, page 230 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Jda7EeL (FB_questions)
文章代碼(AID): #1Jda7EeL (FB_questions)