#12 texts in sieve scripts with 8bit chars give error

open
nobody
None
5
2004-07-21
2004-07-21
No

Hi!

I just filed a patch to the patch area that fixes the
problem where 8bit characters give an error from
sievec. This is because CGI.pm uses iso-8859-1 by
default, but sieve requires utf-8. Easiest way to fix
this is to make websieve use utf-8 all the way. This is
what the patch does.

/Palle

Discussion

  • Zenou

    Zenou - 2007-03-22

    Logged In: YES
    user_id=1028383
    Originator: NO

    Thank you for this patch, but can somebody explain how to apply it?

     
  • Zenou

    Zenou - 2007-03-22

    Logged In: YES
    user_id=1028383
    Originator: NO

    OK, I finally understand the way to applu the patch.

    But I now have the following error:
    Software error:
    Can't modify non-lvalue subroutine call in scalar assignment at /data/www/cgi-bin/websieve/websieve.pl line 7, near "'utf-8';"
    BEGIN not safe after errors--compilation aborted at /data/www/cgi-bin/websieve/websieve.pl line 12.

    (I is related to the line: charset='utf-8';)

     
  • Palle Girgensohn

    Logged In: YES
    user_id=11735
    Originator: YES

    Strange; can you try replacing the single quotes with double quotes? i.e. ' will be "

    /Palle

     
  • Zenou

    Zenou - 2007-04-03

    Logged In: YES
    user_id=1028383
    Originator: NO

    I did try ' instead of "
    The problem remains the same.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks