Hi!

At Tue, 10 May 2005 06:58:30 +0900, Bertram Scharpf wrote:
> does this no longer work?

You forgot to define the meaning of 'no longer works':

 - What precisely do you mean by 'it works'?

 - What is the reference to compare to?

 - Did you switch to a different terminal emulation or change your
   terminal emulation's settings since 'it works'?

> --------------------
> #!/usr/bin/env ruby
> # -*- coding: UTF-8 -*-
> 
> puts $KCODE
> puts "èø¥è¥ï¡¬"
> --------------------
> 
> I tried it with Ruby 1.8.2 and 1.9, Debian Linux.
> What do I miss?

I wrote the scriptlet to deppian.rb; ruby deppian.rb results in:

NONE
èø¥è¥ï¡¬

NONE
äöüÃÃÃÃ

or even more alien results. The former is for a utf-8 terminal, the
latter for an iso-8859-1 terminal.

When in doubt *set* $KCODE explicitly.

Note that the above quote has been converted from utf-8 to iso-8859-1
to avoid artefacts resulting from mixed use of iso-10646 and iso-8859
- fortunately 'wanderlust' does not choose the charset without askign
the user to accept the choice.

Josef 'Jupp' SCHUGT
-- 
Zehn von zehn Unix-Nutzern bestçÕigen... *röãhel*... Neun von neun
Unix-Benutzern bestçÕigen: Unix *ist* benutzerfreundlich (in Anlehnung
an einen Werbespot f Fisherman's Friend).