編譯 nano 2.4.1 版時,遇到以下問題。此現象會造成 nano 無法正確支援 UTF-8。
所以,問題的關鍵就在 ncurses 身上,只要編譯 ncurses 支援寬字集(–enable-widec),就可以解決它了。
1 2 3 4 5 6 |
configure: WARNING: *** Insufficient UTF-8 support was detected in your curses and/or C *** libraries. If you want UTF-8 support, please verify that your slang *** was built with UTF-8 support or your curses was built with wide *** character support, and that your C library was built with wide *** character support. |