texts in sieve scripts with 8bit chars give error
Status: Beta
Brought to you by:
aturbide
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
Logged In: YES
user_id=1028383
Originator: NO
Thank you for this patch, but can somebody explain how to apply it?
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';)
Logged In: YES
user_id=11735
Originator: YES
Strange; can you try replacing the single quotes with double quotes? i.e. ' will be "
/Palle
Logged In: YES
user_id=1028383
Originator: NO
I did try ' instead of "
The problem remains the same.