Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Scampada on July 06, 2015, 04:22:51 PM
-
Is it possible to get UTF-8 working in CLI mode in TC?
I thought that UTF is supported by default by TC, didn't pay attention to this before. Looks like I was wrong.
If it's impossible, which terminal should I use in Xvesa that is supporting UTF and isn't as big and clumsy as Windows?
-
I use urxvt.tcz .
But I couldn't get the configuration to be perfect.
This is what gets displayed if I hold Right-Alt and press numbers and letters in ATerm:
??????{[]}\@???~??^|?????
Many keys don't output anything. Others produce just question marks.
This is what URxvt spits out:
¹²³¼½¬{[]}\¸@ł?¶ŧ???øþ¨~æſðđŋħ?ĸł˝^?|»«¢???µ·??
Still some question marks. Also no € symbol. ):
-
Also you might want to check out the lang= boot code.
-
Also you might want to check out the lang= boot code.
That's it. I googled thoroughly and solved the problem doing
lang=en_US.utf angband
(for I do not wnat to change the boot codes themselves)
-
I guess you meant
LANG=en_US.UTF-8 angband
Right?
-
Neither. It was en_US.utf8 :)
-
Hi
I hope you guys don't mind me replying to a solved post. But in case others search and find it....
Not all terminals are UTF-8 compliant, I found a quickish test that might help
echo -e '\xe2\x82\xac\'
If compliant, with luck you should see the Euro symbol, some terminals may work with double quotes but i use single quote marks
lxterminal and gnome-terminal might be ideal candidates to use if you are having issues with the smaller terminals?
good luck
-
Using URxvt, I can display the € (Euro) symbol using above command, but can not use the keyboard to type it, unless in Bash. I don't know enough about localization to solve this for myself. Using Bash might be a workaround.