Can I print UTF-8 encoded files from Linux command-line? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
enscript doesn't support utf-8 and the only other suggestion I've seen is to use lpr:
lpr -o document-format=text/utf8 file_to_print
but that gives an "Unsupported format" error.
(Ubuntu 9.04 / GNOME Terminal 2.26.0)

what about converting to post script and then printing PS directly?

You can use paps to convert UTF-8 input to postscript. A bit crude but it seems to get the job done, at least for Latin-1 glyphs.

Related

How to insert complicated code into a file via linux command line? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
i know how to paste code into VIM editor in linux, but what i want is to skip the step when i need to open file and manually paste. Please what is the command to append, insert complicated code (containing ; ` " etc) into file (example.sh) right from linux command line?
How about
cat example.sh <<EOF
your code here;
also with "complicated" stuff
EOF
Hope this helps.

Is there a way or tool that enables me to use linux like shell environment on top of windows? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there a way in which I can use linux command like ls -l on the window command prompt ? or maybe use powerful commands like grep on windows ?
Cygwin will do what you're looking for
MinGW/MSys is a minimal unix environment.

Hex Editor for Linux with auto update feature [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Does anyone know of a way to see file in Hex on Linux so that the view is updated when a file on Disk changes.
You can use vim. To switch into hex mode type:
:%!xxd
To exit from hex mode hit escape again and type:
:%!xxd -r
Also check out how to edit binary file on the unix systems

lame linux inquiry: viewing PNGs and JPGs... but FAST [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Anyone know some image viewers for Linux/Ubuntu
which have faster loading times than the
gimp and firefox which I can install with
apt-get, or which are already on the system.
Fed up of having to wait for these to load,
each time I need to view an image. I need
something fast and jiffy.
I'm also looking for sth I can run from the command line.
Try the "display" command line. apt-get install imagemagick
Shachar
Eye of Genome is very light and fast: http://projects.gnome.org/eog/

Converting ASCII text to Unicode with formatting [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Is there a free tool under linux system, for converting ascii text to unicode by keeping original text formatting ?
iconv can convert between different encodings, if that's what you mean.
Sure, it's called cat:
cat myasciifile > myunicodefile
Now myunicodefile consists of unicode codepoints, encoded in the popular UTF8 encoding. Note that this assumes that myasciifile consists only of legal ASCII characters (i.e. in the range 0-127).
An alternative to this is cp.

Resources