[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-i18n
Subject:    Re: [SM-I18N] Encoding problem
From:       Paul Lesniewski <paul () squirrelmail ! org>
Date:       2016-04-02 22:34:36
Message-ID: CAHog116diR+4JbgS3Z2OS3-BVd7cGwtwk9P4wAqfTAfiBcFkyw () mail ! gmail ! com
[Download RAW message or body]

On 2/24/16, Daniel Stonek <daniel@stonek.com> wrote:
> 
> /On 01/26/2016 01:39 PM, Paul Lesniewski wrote:/
> > On 1/26/16, "André Z.D.A."<andrezda10@yandex.com>  wrote:
> > > > > Question: it is possible to reply to emails with lithuanian letters
> > > > > without
> > > > > problems with encoding (with default English language in Display
> > > > > Options)?
> > > > Please try the patch found here:
> > > > http://sourceforge.net/p/squirrelmail/bugs/2806
> > > > 
> > > Where exactly is the patch? I have read it, but I'm not sure which patch
> > > should be used.
> > For 1.4.22, use quoted_printable_fix-1.4.x-version_2.diff
> > If you're using 1.4.23, use quoted_printable_fix-1.4.x-version_3.diff
> > For 1.5.2, use quoted_printable_fix-1.5.2-version_3.diff
> > 
> > The latter two are posted near the very end of the thread
> > 
> Hello Paul,
> 
> I tried to apply this patch
> /For 1.4.22, use quoted_printable_fix-1.4.x-version_2.diff//
> /uploaded to the public main SM directory/
> 
> # *patch -p1 < quoted_printable_fix-1.4.x-version_2.diff *
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> > Index: functions/i18n.php
> > ===================================================================
> > --- functions/i18n.php    (revision 14363)
> > +++ functions/i18n.php    (working copy)
> --------------------------
> File to patch: ^C
> 
> /Then I tried with
> /*#  patch -p0 < quoted_printable_fix-1.4.x-version_2.diff
> *patching file functions/i18n.php
> Hunk #2 FAILED at 186.
> 1 out of 2 hunks FAILED -- saving rejects to file functions/i18n.php.rej
> patching file functions/strings.php
> Hunk #1 FAILED at 1489.
> Hunk #2 FAILED at 1500.
> Hunk #3 FAILED at 1508.
> 3 out of 3 hunks FAILED -- saving rejects to file functions/strings.php.rej
> 
> ./rej file content:
> 
> --- i18n.php    (working copy)
> +++ i18n.php    (revision 14363)
> @@ -184,7 +182,7 @@
> }
> 
> /* All HTML special characters are 7 bit and can be replaced first */
> -    if (! $save_html) $string = sm_encode_html_special_chars($string,
> ENT_COMPAT, $charset);
> +    if (! $save_html) $string = sm_encode_html_special_chars ($string);
> $charset = strtolower($charset);
> 
> set_my_charset();
> 
> Thank you/
> /

IIRC, I tested version 2 of the patch against vanilla 1.4.22 so you
appear to have modified your code.  If you make modifications, you're
going to have to take responsibility for applying patches yourself.
Go into the patch file and make the changes manually.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
-----
squirrelmail-i18n mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
Information about translations: http://squirrelmail.org/wiki/LanguageTranslation
Statistics for translations: http://l10n-stats.squirrelmail.org/
List address: squirrelmail-i18n@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic