http://qs321.pair.com?node_id=1037628


in reply to Parse a special symbol

You have to provide more information in order for any of us to be able to respond.

From where does the string come from?

The operating system you use?

Regards, Stefan

Replies are listed 'Best First'.
Re^2: Parse a special symbol
by auhakim (Novice) on Jun 07, 2013 at 08:50 UTC

    basically its just a variable

    my $rest = "l'événement";

    I tried to print that variable and what i get is a big mess

      1. Set your text editor to save things as utf-8 (if not already set so)
      2. use utf8;
      3. set your output encoding correctly: binmode(STDOUT, ":encoding(utf-8)");
      The rest depends on your terminal.