Ryszard has asked for the wisdom of the Perl Monks concerning the following question:
For the 1st time i'm attempting to print out characters with perl that are non english, to be specific, french characters, and i'm getting the dreaded "Malformed UTF-8 character" error.
locale -a shows all the french locales installed ( i wont list them unless requested ).
The output is: une certaine phrase alatoire en franais#!/usr/bin/perl -w use strict; use utf8; print "une certaine phrase aléatoire en français\n";
If someone could shed some light on how to output the correct accented characters, i would be grateful.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Non english characters
by inman (Curate) on Oct 17, 2005 at 09:47 UTC | |
Re: Non english characters
by ioannis (Abbot) on Oct 17, 2005 at 10:34 UTC | |
Re: Non english characters
by pajout (Curate) on Oct 17, 2005 at 09:21 UTC | |
by McDarren (Abbot) on Oct 17, 2005 at 09:30 UTC | |
by Ryszard (Priest) on Oct 17, 2005 at 09:25 UTC |
Back to
Seekers of Perl Wisdom