Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: alu on November 02, 2009, 02:36:45 PM
-
i am experiencing something new: mc, text mode, vi + latex; i start mc in text mode, i mount texlive and would like to use it with vi in order to write in french, german and english. but it seems that vi does not write accents and other similar signs (instead of that, it writes dots). changing the locales give expected results with nano on tty, but not with vi. any ideas? i'd like to use vi since i don't need to load my extension, and keep the system at 7,2 mb ram usage while wildly writing.
-
actually, really dumb: you have to change the locale, and even if vi does not display accentuated characters in tty, a cat your_file displays all characters. mmmhhhh... is there a way to make tty displayed accentuated characters?
-
Quite old topic, but this problem is still actual, so probably worth refreshing.
Meantime it is possible to have accentuated characters in tty with setconmap.sh from wiki site, but vi and vim still does not writes accentuated fonts and similar signs in UTF-8 mode. A cat on file gives fonts with accents. On X environment the same problem.
So far I have tried following steps without success:
1. Changed G_FILENAME_ENCODING
export G_FILENAME_ENCODING=UTF-8
2. Installed
xfonts-unifont.tcz
schumacher-clean-fonts
eglibc_apps.tcz
eglibc_add_lib.tcz
mylocale.tcz
dejavu-fonts-ttf.tcz
ttf-monofur.tcz
3. In Vim
:set encoding=utf-8
:set fileencoding=utf-8
and no success
gvim gives error message
Warning: Missing charsets in String to FontSet conversion
On Sakura terminal all characters with accents are correctly displayed.
sakura -e vim
And still no characters with accents in vi vim and gvim.
There is no problem with gtk apps like leafpad abiword etc.