Hi!
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 -*-
=20
puts $KCODE
puts "=E4=F6=FC=C4=D6=DC=DF"
I wrote the scriptlet to deppian.rb; ruby deppian.rb results in:
NONE
=E4=F6=FC=C4=D6=DC=DF
NONE
=C3=A4=C3=B6=C3=BC=C3=C3=C3=C3
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
--=20
Zehn von zehn Unix-Nutzern best=E4tigen... *r=F6chel*... Neun von neun
Unix-Benutzern best=E4tigen: Unix *ist* benutzerfreundlich (in Anlehnung
an einen Werbespot f=FCr Fisherman's Friend).