dtutor.org: a call to action

H. S. Teoh hsteoh at quickfur.ath.cx
Sun May 5 21:29:15 PDT 2013


On Sun, May 05, 2013 at 08:55:29PM -0400, Tyro[17] wrote:
[...]
> Which reminds me... how does one create a utf-8 encoded file at the
> shell prompt?
[...]

Depends.

On Linux, most modern versions of VI and EMACS support utf-8 natively,
it's just a matter of setting up the default settings. For bash, cat,
grep, and friends, it's just a matter of setting up a UTF-8 locale on
the system (or for a single user, but if you can, might as well make it
default on the whole system). Then use a terminal like rxvt-unicode to
actually see the characters, and setup XKB to international key
composition to actually type Unicode characters, and you're good to go.

(Note: most modern distros should have all of the above setup by default
already. You really only need to do it manually when upgrading from an
older system.)

On Windows... I have no idea. Haven't used it for anything significant
for over a decade now. :-P


T

-- 
"No, John.  I want formats that are actually useful, rather than
over-featured megaliths that address all questions by piling on
ridiculous internal links in forms which are hideously over-complex." --
Simon St. Laurent on xml-dev


More information about the Digitalmars-d mailing list