#421 Errors with utf8 encodage on Windows plateform

Core (65)

Epic shows some errors when I use 'use utf8' pragma in utf8 file.
Sample : I've got the error 'Malformed UTF-8 character (unexpected non-continuation byte 0x20, immediately after start byte 0xe0)' with the source :

use strict;
use warnings FATAL => qw(all);
use utf8;

print "Test avec accent éçàèê";

The error appears and desapears when I modify and save the source.

My plateform is a French Windows 2000 with activeperl 5.8.8.

My source executes without errors on my French Windows and Linux RedHat with en_US.UTF8 locale.


  • Nobody/Anonymous

    Logged In: NO

    This is also true for OS X and a german locale (de_DE.UTF8).

    It seems to me, that the code gets converted to latin1 for syntax checking by EPIC and then the utf8 fails.

  • Nobody/Anonymous

    ugly hack:
    Start Eclipse like this:

    /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse -vmargs -Dfile.encoding=UTF-8

    But EPIC should better use the encoding of the file ...

  • Anonymous

    Anonymous - 2012-12-16

    Will you consider fixing that bug one day ?

  • Oliver Trosien

    Oliver Trosien - 2016-05-15

    I don't have a windows box at hand, it would be nice if one of our users would give an update on this. I vaguely remember some utf-8 / bom improvements around 2013/2014...


Log in to post a comment.