#477 Editor fails highlight when special characters are included

Editor (234)

EPIC Perl Editor fails highlight when special characters are included in the code.

A temporary developer added some native german comments obviously using a non-standard character encoding (Project default is ISO-8859-1) as pasted ...


# Dieses Script �ndert einige ...
# zus�tzlich Daten ...

use strict;
use warnings;



my $i ='Dieses Script �ndert einige ...';
my $j = 'zus�tzlich Daten ...';

use strict;
use warnings;


Beginning with the line containing the special characters, EPIC editor fails the highlight the rest of the script file.


  • Jan Ploski

    Jan Ploski - 2008-02-27

    Logged In: YES
    Originator: NO

    Do you mean that the character encoding used by the dev was not ISO-8859-1? Can you attach the failing file or an excerpt of it? (Entering umlauts works just fine in ISO-8859-1.)

  • Nobody/Anonymous

    Logged In: NO

    It's not possible for unregistered users to submit a file for an existing bug.

    I've double-checked the reason: the author of the sub-project left the project file encoding on ISO-8859-1 and committed the file with that encoding. After it (don't ask me why and he left the company) the sub-project's default encoding was changed into UTF-8. This causes the ISO-8859-1 umlauts to be displayed wrong - no problem.

    But furthermore that causes EPIC to stop syntax highlighting after the first invalid umlaut.


Log in to post a comment.