Use « enc => "latin-1" » as an argument to open (method or class form) to
change the character encoding.

On Wed, Aug 12, 2015 at 8:32 AM, Christian Aperghis-Tramoni <
christian.aperg...@lidil.univ-mrs.fr> wrote:

> Now I hane rakudo on MoarVM working, I get an error I didn't have formerly
> on parrotVM.
>
> Ech time i read a file containing french diacritic characters (éèàç ...)
> it returns  the error :
>
> Malformed UTF-8
>
> if the file contains only standards ascii charecters, i do not have any
> problem.
>
> Can you tell me how to solve this.
>
> Thanks.
>
> --
>            \|||/
>            (o o)
>      +--ooO-( )-Ooo------------------------------------------+
>      |              Christian Aperghis-Tramoni               |
>      |                                                       |
>      | Mel              : ch...@aperghis.fr                  (\
>    / ) WEB (provisoire) : http://www.dil.univ-mrs.fr/~chris  ( \
>   ( (+-------------------------------------------------------+) )
>  ((\ \)  / )                                            / ) (/ //)
>  (\\\ \_/ /                                             \ \_/ ///)
>   \      /                                               \      /
> ___\___ /____________________________________________ ____\____/________
>  print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
>  (//,"5110789279758710838810587992861093898779948387799310")),"...\n");
> _______________________________________________________________________
>
>

Reply via email to