dtutor.org: a call to action

Tyro[17] nospam at home.com
Tue May 7 15:44:17 PDT 2013


On 5/6/13 12:29 AM, H. S. Teoh wrote:
> 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.

That it does. I will need to be more specific when asking questions as 
Jonathan suggested.

> 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.

I use nano and was actually talking creating UTF-8 encoded files in that 
editor. Badly stated question. Thanks for he pointers though. I actually 
learned something form them.

> (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
>

No issues there. I'm using MAC OSX and and Ubuntu

> T
>

Thanks,
Andrew


More information about the Digitalmars-d mailing list