|
From: Paul L. <pa...@sq...> - 2016-04-02 22:34:43
|
On 2/24/16, Daniel Stonek <da...@st...> wrote: > > /On 01/26/2016 01:39 PM, Paul Lesniewski wrote:/ >> On 1/26/16, "André Z.D.A."<and...@ya...> 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 |