Re: squirrelmail characters problems after upgrading ubuntu server from 12.04 to 12.10

"Andrés Chandía" <[email protected]> Tue, 6 Nov 2012 16:23:22 -0000
Newsgroups gmane.mail.squirrelmail.internationalization
Message-ID <[email protected]>
--===============3062464086047309884==
Content-Type: multipart/alternative;boundary="----=_20121106162322_58730"

------=_20121106162322_58730
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



I put it the same way you have it, but no success.....

some more ideas....?

This is the content I have for Spanish in /usr/share/squirrelmail/functio=
ns/i18n.php :
 $languages['es_ES']['NAME']    =3D 'Spanish'; $languages['es_ES']['CHARS=
ET'] =3D 'iso-8859-1';
$languages['es_ES']['LOCALE']  =3D
array('es_ES.ISO8859-1','es_ES.ISO-8859-1','es_ES','es_ES.UTF-8'); $langu=
ages['es']['ALIAS'] =20
   =3D 'es_ES';    Al 06/11/12 15:06, En/na "Andr=C3=A9s Chand=C3=ADa" ha=
 escrit:
> It didn't work for me,  >=20
> I did: > apt-get install
language-pack-es-base > apt-get install php-gettext
>  > at
/usr/share/squirrelmail/functions/i18n.php I > added:
>  > $languages['es_ES']['NAME']    =3D
'Spanish'; > $languages['es_ES']['CHARSET'] =3D 'utf-8';
> $languages['es_ES']['LOCALE']  =3D >
array('es_ES.UTF-8', 'es_ES.UTF8'); >  > and >  >
$languages['ca_ES']['NAME']    =3D > 'Catalan'; > $languages['ca_ES']['CH=
ARSET'] =3D 'utf-8'; > $languages['ca_ES']['LOCALE']  > =3D
array('ca_ES.UTF-8', 'ca_ES.UTF8'); >  > and I did squirrelmail-configure=
 (Languages > -> Charset utf-8 >  > There was no improvemet, on the contr=
ary, all that was well > diplayed turned like this: >=20
> "T=EF=BF=BDcnico" >
 > so I turned my configuration back (at any other web on the
same server everything goes > ok) >  > Thanks for your help, I hope you h=
ave
some more ideas >  >=20
>  > Do > you have the language package installed in the SquirrelMail ser=
ver? For
example: > language-pack-es-base  And the package php-gettext
?  In Ubuntu 10.10 I needed to add all the > affected
languages in this file: /usr/share/squirrelmail/functions/i18n.php  For e=
xample: > Catalan (ca_ES.UTF-8), Spanish (es_ES.UTF-8), English (en_US.UT=
F-8),
Basque (eu_ES.UTF-8), > French (fr_FR.UTF-8), Italian
(it_IT.UTF-8), Arabic (ar_MA.UTF-8 ar_SA.UTF-8)  And made >
squirrelmail-configure (Languages -> Charset utf-8)    > Hi there, > I re=
send this mail because I haven't been able to find a solution. >=20
> The problems arise after upgrading > from ubuntu server
12.04 to 12.10: >  > All the arriving mails from sender which name has ac=
cents or
other >> likely characters, do not display the sender, same
hapens if > character > is in subject (subject is not
diplayed), > eventhough, if the body > contains this kind
of characters, > these are seen with no problem. >  > At
my address book all the names containing such characters >
desappeared, > not the mail field, but only the name one, and > it cannot=
 be edited. I > tried editing the > "/var/lib/squirrelmail/data/andres@ch=
andia.net.abook
<http://mail.chandia.net/src/compose.php?send_to=3Dandres%40chandia.net.a=
book>",
>> but the visualization results in strange characters,
I've > tried > converting the file from iso-8859-1 to utf8,
but > nothing... >  > Another > problem is that when answering, the origi=
nal massage is erased > if
there is an accented character, and messages that are not html, > erase >=
 the "lines" where there is a word with > accented characters.!!! >  > > =
any
idea of what could be happening, any help? >  > thanks in advance.... >  =
>=20
>  >  >  >  >
 > _______________________ > =20
          andr=C3=A9s chand=C3=ADa > chandia.net <http://www.chandia.net>=
 > P No imprima innecesariamente. =C2=A1Cuide el medio ambiente!
>  >  >
-------------------------------------------------------------------------=
----- > LogMeIn Central: Instant, anywhere, Remote PC access and
management. > Stay in control, update software, and manage PCs
from one command center > Diagnose problems and improve
visibility into emerging IT issues > Automate, monitor and
manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12=
331_d2d
>  >  >  > ----- > squirrelmail-i18n mailing list > Posting
guidelines: http://squirrelmail.org/postingguidelines
> Information about translations: http://squirrelmail.org/wiki/LanguageTr=
anslation
> Statistics for translations: http://l10n-stats.squirrelmail.org/
> List address: [email protected]
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.internatio=
nalization
> List info (subscribe/unsubscribe/change options): https://lists.sourcef=
orge.net/lists/listinfo/squirrelmail-i18n
> =20
-------------------------------------------------------------------------=
----- LogMeIn
Central: Instant, anywhere, Remote PC access and management. Stay in cont=
rol, update software,
and manage PCs from one command center Diagnose problems and improve visi=
bility into emerging
IT issues Automate, monitor and manage. Do more in less time with Central=
 http://p.sf.net/sfu/logmein12331_d2d -----
squirrelmail-i18n mailing list Posting guidelines: http://squirrelmail.or=
g/postingguidelines
Information about translations: http://squirrelmail.org/wiki/LanguageTran=
slation
Statistics for translations: http://l10n-stats.squirrelmail.org/ List
address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationa=
lization
List info (subscribe/unsubscribe/change options): https://lists.sourcefor=
ge.net/lists/listinfo/squirrelmail-i18n




_______________________
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a=
ndr=C3=A9s
chand=C3=ADa

P No imprima
innecesariamente. =C2=A1Cuide el medio ambiente!

------=_20121106162322_58730
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<pre>I put it the same way you have it, but no success.....<br /><br />so=
me more ideas....?<br
/><br />This is the content I have for Spanish in /usr/share/squirrelmail=
/functions/i18n.php :
 $languages['es_ES']['NAME']    =3D 'Spanish'; $languages['es_ES']['CHARS=
ET'] =3D 'iso-8859-1';
$languages['es_ES']['LOCALE']  =3D
array('es_ES.ISO8859-1','es_ES.ISO-8859-1','es_ES','es_ES.UTF-8'); $langu=
ages['es']['ALIAS'] =20
   =3D 'es_ES';    Al 06/11/12 15:06, En/na &quot;Andr&eacute;s Chand&iac=
ute;a&quot; ha escrit:
<font color=3D"#000000">&gt; It didn't work for me, </font> <font color=3D=
"#000000">&gt; </font>
<font color=3D"#000000">&gt; I did:</font> <font color=3D"#000000">&gt; a=
pt-get install
language-pack-es-base</font> <font color=3D"#000000">&gt; apt-get install=
 php-gettext</font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; at
/usr/share/squirrelmail/functions/i18n.php I</font> <font color=3D"#00000=
0">&gt; added:</font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; $langua=
ges['es_ES']['NAME']    =3D
'Spanish';</font> <font color=3D"#000000">&gt; $languages['es_ES']['CHARS=
ET'] =3D 'utf-8';</font>
<font color=3D"#000000">&gt; $languages['es_ES']['LOCALE']  =3D</font> <f=
ont color=3D"#000000">&gt;
array('es_ES.UTF-8', 'es_ES.UTF8');</font> <font color=3D"#000000">&gt; <=
/font> <font
color=3D"#000000">&gt; and</font> <font color=3D"#000000">&gt; </font> <f=
ont color=3D"#000000">&gt;
$languages['ca_ES']['NAME']    =3D</font> <font color=3D"#000000">&gt; 'C=
atalan';</font> <font
color=3D"#000000">&gt; $languages['ca_ES']['CHARSET'] =3D 'utf-8';</font>=
 <font
color=3D"#000000">&gt; $languages['ca_ES']['LOCALE'] </font> <font color=3D=
"#000000">&gt; =3D
array('ca_ES.UTF-8', 'ca_ES.UTF8');</font> <font color=3D"#000000">&gt; <=
/font> <font
color=3D"#000000">&gt; and I did squirrelmail-configure (Languages</font>=
 <font
color=3D"#000000">&gt; -&gt; Charset utf-8</font> <font color=3D"#000000"=
>&gt; </font> <font
color=3D"#000000">&gt; There was no improvemet, on the contrary, all that=
 was well</font> <font
color=3D"#000000">&gt; diplayed turned like this:</font> <font color=3D"#=
000000">&gt; </font>
<font color=3D"#000000">&gt; &quot;T&#65533;cnico&quot;</font> <font colo=
r=3D"#000000">&gt;
</font> <font color=3D"#000000">&gt; so I turned my configuration back (a=
t any other web on the
same server everything goes</font> <font color=3D"#000000">&gt; ok)</font=
> <font
color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; Thanks for yo=
ur help, I hope you have
some more ideas</font> <font color=3D"#000000">&gt; </font> <font color=3D=
"#000000">&gt; </font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; Do</fon=
t> <font
color=3D"#000000">&gt; you have the language package installed in the Squ=
irrelMail server? For
example:</font> <font color=3D"#000000">&gt; language-pack-es-base  And t=
he package php-gettext
?  In Ubuntu 10.10 I needed to add all the</font> <font color=3D"#000000"=
>&gt; affected
languages in this file: /usr/share/squirrelmail/functions/i18n.php  For e=
xample:</font> <font
color=3D"#000000">&gt; Catalan (ca_ES.UTF-8), Spanish (es_ES.UTF-8), Engl=
ish (en_US.UTF-8),
Basque (eu_ES.UTF-8),</font> <font color=3D"#000000">&gt; French (fr_FR.U=
TF-8), Italian
(it_IT.UTF-8), Arabic (ar_MA.UTF-8 ar_SA.UTF-8)  And made</font> <font co=
lor=3D"#000000">&gt;
squirrelmail-configure (Languages -&gt; Charset utf-8)    &gt; Hi there,<=
/font> <font
color=3D"#000000">&gt; I resend this mail because I haven't been able to =
find a solution. &gt;=20
&gt; The problems arise after upgrading</font> <font color=3D"#000000">&g=
t; from ubuntu server
12.04 to 12.10: &gt;  &gt; All the arriving mails from sender which name =
has accents or
other</font> <font color=3D"#000000">&gt;&gt; likely characters, do not d=
isplay the sender, same
hapens if</font> <font color=3D"#000000">&gt; character &gt; is in subjec=
t (subject is not
diplayed),</font> <font color=3D"#000000">&gt; eventhough, if the body &g=
t; contains this kind
of characters,</font> <font color=3D"#000000">&gt; these are seen with no=
 problem. &gt;  &gt; At
my address book all the names containing such characters</font> <font col=
or=3D"#000000">&gt;
desappeared, &gt; not the mail field, but only the name one, and</font> <=
font
color=3D"#000000">&gt; it cannot be edited. I &gt; tried editing the</fon=
t> <font
color=3D"#000000">&gt; &quot;/var/lib/squirrelmail/data/<a
href=3D"http://mail.chandia.net/src/compose.php?send_to=3Dandres%40chandi=
a.net.abook">[email protected]</a>
&lt;<a target=3D"_blank"
href=3D"http://mail.chandia.net/src/compose.php?send_to=3Dandres%40chandi=
a.net.abook">http://mail.chandia.net/src/compose.php?send_to=3Dandres%40c=
handia.net.abook</a>&gt;&quot;,</font>
<font color=3D"#000000">&gt;&gt; but the visualization results in strange=
 characters,
I've</font> <font color=3D"#000000">&gt; tried &gt; converting the file f=
rom iso-8859-1 to utf8,
but</font> <font color=3D"#000000">&gt; nothing... &gt;  &gt; Another</fo=
nt> <font
color=3D"#000000">&gt; problem is that when answering, the original massa=
ge is erased &gt; if
there is an accented character, and messages that are not html,</font> <f=
ont
color=3D"#000000">&gt; erase &gt; the &quot;lines&quot; where there is a =
word with</font> <font
color=3D"#000000">&gt; accented characters.!!! &gt;  &gt;</font> <font co=
lor=3D"#000000">&gt; any
idea of what could be happening, any help? &gt;  &gt; thanks in advance..=
.. &gt;  &gt; </font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; </font>=
 <font
color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; </font> <font=
 color=3D"#000000">&gt;
</font> <font color=3D"#000000">&gt; _______________________</font> <font=
 color=3D"#000000">&gt; =20
          andr&eacute;s chand&iacute;a</font> <font color=3D"#000000">&gt=
; chandia.net &lt;<a
target=3D"_blank" href=3D"http://www.chandia.net">http://www.chandia.net<=
/a>&gt;</font> <font
color=3D"#000000">&gt; P No imprima innecesariamente. &iexcl;Cuide el med=
io ambiente!</font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; </font>=
 <font
color=3D"#000000">&gt;
-------------------------------------------------------------------------=
-----</font> <font
color=3D"#000000">&gt; LogMeIn Central: Instant, anywhere, Remote PC acce=
ss and
management.</font> <font color=3D"#000000">&gt; Stay in control, update s=
oftware, and manage PCs
from one command center</font> <font color=3D"#000000">&gt; Diagnose prob=
lems and improve
visibility into emerging IT issues</font> <font color=3D"#000000">&gt; Au=
tomate, monitor and
manage. Do more in less time with Central</font> <font color=3D"#000000">=
&gt; <a target=3D"_blank"
href=3D"http://p.sf.net/sfu/logmein12331_d2d">http://p.sf.net/sfu/logmein=
12331_d2d</a></font>
<font color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; </font>=
 <font
color=3D"#000000">&gt; </font> <font color=3D"#000000">&gt; -----</font> =
<font
color=3D"#000000">&gt; squirrelmail-i18n mailing list</font> <font color=3D=
"#000000">&gt; Posting
guidelines: <a target=3D"_blank"
href=3D"http://squirrelmail.org/postingguidelines">http://squirrelmail.or=
g/postingguidelines</a></font>
<font color=3D"#000000">&gt; Information about translations: <a target=3D=
"_blank"
href=3D"http://squirrelmail.org/wiki/LanguageTranslation">http://squirrel=
mail.org/wiki/LanguageTranslation</a></font>
<font color=3D"#000000">&gt; Statistics for translations: <a target=3D"_b=
lank"
href=3D"http://l10n-stats.squirrelmail.org/">http://l10n-stats.squirrelma=
il.org/</a></font>
<font color=3D"#000000">&gt; List address: <a
href=3D"http://mail.chandia.net/src/compose.php?send_to=3Dsquirrelmail-i1=
8n%40lists.sourceforge.net">[email protected]</a></=
font>
<font color=3D"#000000">&gt; List archives: <a target=3D"_blank"
href=3D"http://news.gmane.org/gmane.mail.squirrelmail.internationalizatio=
n">http://news.gmane.org/gmane.mail.squirrelmail.internationalization</a>=
</font>
<font color=3D"#000000">&gt; List info (subscribe/unsubscribe/change opti=
ons): <a
target=3D"_blank"
href=3D"https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n">h=
ttps://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n</a></font>
<font color=3D"#000000">&gt; </font>=20
-------------------------------------------------------------------------=
----- LogMeIn
Central: Instant, anywhere, Remote PC access and management. Stay in cont=
rol, update software,
and manage PCs from one command center Diagnose problems and improve visi=
bility into emerging
IT issues Automate, monitor and manage. Do more in less time with Central=
 <a target=3D"_blank"
href=3D"http://p.sf.net/sfu/logmein12331_d2d">http://p.sf.net/sfu/logmein=
12331_d2d</a> -----
squirrelmail-i18n mailing list Posting guidelines: <a target=3D"_blank"
href=3D"http://squirrelmail.org/postingguidelines">http://squirrelmail.or=
g/postingguidelines</a>
Information about translations: <a target=3D"_blank"
href=3D"http://squirrelmail.org/wiki/LanguageTranslation">http://squirrel=
mail.org/wiki/LanguageTranslation</a>
Statistics for translations: <a target=3D"_blank"
href=3D"http://l10n-stats.squirrelmail.org/">http://l10n-stats.squirrelma=
il.org/</a> List
address: <a
href=3D"http://mail.chandia.net/src/compose.php?send_to=3Dsquirrelmail-i1=
8n%40lists.sourceforge.net">[email protected]</a>
List archives: <a target=3D"_blank"
href=3D"http://news.gmane.org/gmane.mail.squirrelmail.internationalizatio=
n">http://news.gmane.org/gmane.mail.squirrelmail.internationalization</a>
List info (subscribe/unsubscribe/change options): <a target=3D"_blank"
href=3D"https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n">h=
ttps://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n</a></pre>
<br /><br /><br /><br />_______________________<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;andr&eacute;s
chand&iacute;a<br /><a title=3D"This external link will open in a new win=
dow" target=3D"_blank"
href=3D"http://www.chandia.net"><img border=3D"0" alt=3D"chandia.net"
src=3D"http://www.chandia.net/sites/default/files/images/chandia.netd.png=
" /></a><br /><span
style=3D"font-size: 18pt; color: rgb(79, 98, 40); font-family: Webdings;"=
>P </span><span
style=3D"font-size: 10pt; color: rgb(79, 98, 40); font-family: 'Arial','s=
ans-serif';">No imprima
innecesariamente. &iexcl;Cuide el medio ambiente!</span>
------=_20121106162322_58730--




--===============3062464086047309884==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
--===============3062464086047309884==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----
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: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n
--===============3062464086047309884==--