Re: Unexpected display of non-ASCII



On Tue, 2007-01-02 at 06:18 -0800, Jon Mitchell wrote:

Whilst trying to display international currency units I found the
following unexpectedness. In the following code I would expect a label
to appear with "£10.00 $10.00 €10.00 ¥10.00". Instead of the currency
unit I get strange characters, as shown in the attached png.

perl has to be told to handle utf8 source code.  So if your source file
is encoded as utf8, use:

  use utf8;

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]