setting consolefont for text output

A

anansi

Hi,
I was wondering if there is a way in linux to output text in cp437 with
my ruby script. Is there at all a way to influence the font within ruby
in a console?
 
M

Michal Suchanek

Hi,
I was wondering if there is a way in linux to output text in cp437 with
my ruby script. Is there at all a way to influence the font within ruby
in a console?
The better approach would be to convert the cp437 text to the encoding
of your console.
Given an utf-8 terminal this should not be a problem for most
encodings including cp437.
There are utf-8 X11 terminal emulators and utf8 terminal emulators for
the Linux framebuffer console. The functionality of the Linux console
when dealing with various encodings is limited at best.

Thanks

Michal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top