WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Testing terminals for utf8 support (feedback and questions)  (Read 3339 times)

aus9

  • Guest
Testing terminals for utf8 support (feedback and questions)
« on: November 05, 2012, 02:31:32 AM »
Hi

I did a google and one test of your terminal to see if utf8 is working ok, but you may need a fonts package installed as well?
Code: [Select]
perl -Mcharnames=:full -CS -wle 'print "\N{EURO SIGN}"'

I loaded perl_Curses but other perls may work?

2) here is a quick test I did for some terminals, the image shows the next terminal command and its image below (no fancy terminal --option tried)

In case you don't want to look at image, terminals opened in image order are
lxterminal (my fav terminal)
aterm
urxvt
lilyterm

Now I know this is not a complete test of all terminals TinyCore has and its not meant to be.
But I do note, lilyterm was the only one (so far tested) that easily passes that test

3) some terminals allow a command like
Code: [Select]
terminalpackagename --help

but its not clear to me, of any I tested, an option slaps me to say "this one stupid"

In other words, the other terminals may be utf8 compliant but I don't yet know how to get there
and yes my locale is set to an UTF8 standard

so any clues would be appreciated.


« Last Edit: November 05, 2012, 02:34:24 AM by aus9 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Testing terminals for utf8 support (feedback and questions)
« Reply #1 on: November 05, 2012, 10:29:51 AM »
aterm does not support unicode. Urxvt should, I'm not familiar with it though.

Only your lxterminal pic would need more fonts. (or likely require you to pick a different font altogether, because lilyterm shows the sign - seems lxterminal doesn't fall back to other fonts).
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Testing terminals for utf8 support (feedback and questions)
« Reply #2 on: November 05, 2012, 10:33:42 AM »
urxvt does support Unicode. lxterminal as few others in the repo like Terminal are based on vte as a terminal engine, their unicode support is expected to be the same.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

aus9

  • Guest
Re: Testing terminals for utf8 support (feedback and questions)
« Reply #3 on: November 05, 2012, 11:07:28 AM »
thanks for replies

curaga and others
if lxterminal merely needs a good font package, which one?
I have Xorg-fonts loaded and going thru all the lxterminal fonts gives similar (bad) results

bmarkus and others
I am puzzled as my fonts were already loaded, and the only changes I made was to load another terminal.

Any clues how to get urxvt to play? I just googled that iso number and

Code: [Select]
urxvt --help
rxvt-unicode (urxvt) v9.07 - released: 2009-12-27
options: xft,styles,combining,blink,iso14755,encodings=eu+vn,fade,transparent,tint,XIM,frills,selectionscrolling,wheel,slipwheel,cursorBlink,pointerBlank,scrollbars=plain+rxvt
Usage: urxvt [options] [-e command args]

where resources (long-options) include:
  termName:           string
  iso14755_52:        boolean

Trying
Code: [Select]
urxvt -iso14755_52
terminal opens but utf8 same bad result (in case forum truncates I have the understem)

and
Code: [Select]
urxvt -iso14755
borks

any clues?

I mean, as a beginner, I am happy lilyterm works so easily but has anyone confirmed my test or are we all trusting me?
« Last Edit: November 05, 2012, 11:09:18 AM by aus9 »