Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#421 Errors with utf8 encodage on Windows plateform

v0.6.x
open
nobody
Core (65)
5
2007-07-18
2007-07-18
dreuxl
No

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.

Discussion

  • 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.

     
  • 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 ...

     
  • adobex
    adobex
    2012-12-16

    Hello,
    Will you consider fixing that bug one day ?