asterisk2billing.org
http://forum.asterisk2billing.org/

Encoding languageSettings.php
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=6023
Page 1 of 1

Author:  dbbrito [ Tue Aug 11, 2009 6:54 pm ]
Post subject:  Encoding languageSettings.php

The file encoding languageSettings.php in Brazil is wrong here in Brazil all servers need to be "httpd.conf" set as ISO-8859-1.

The languageSettings.php is set as:

case "brazilian":
$languageEncoding = "pt_BR.UTF-8";
$slectedLanguage = "pt_BR";
$charEncoding = "UTF-8";
break;


The languageSettings.php is correct:

case "brazilian":
$languageEncoding = "pt_BR.iso88591";
$slectedLanguage = "pt_BR";
$charEncoding = "iso88591";
break;

I changed the languageSettings.php for iso88591 and everything was 100%, but then I found an error when I change any name of customer or e-mail template or any name that accent he has off the accent now on, it happens when I confirm the data.

Example:

Customer name:
Danilo VĂ¢nio

When I confirm the data it writes only:
Danilo V

It erases everything that is after the accent.

Thank you very much.

Author:  cerien [ Thu Sep 30, 2010 2:35 pm ]
Post subject:  Re: Encoding languageSettings.php

Hi

On the same subject, I am struggling to send email with correct accents to my customers (using an old 1.4).

I've noted that the char encoding in this file is "iso-8859-1" for french while many other use "iso88591" without the dashes.... I know that we french people like to do things differently just for the sake of it ;-), but is there a good reason to have this ?

Worded differently, how is this variable linked to the system, so I can check whether I need one or the other version ?

Rgds,

J.

Author:  areski [ Sun Feb 20, 2011 3:54 pm ]
Post subject:  Re: Encoding languageSettings.php

Hello,

Have you find a solution to this ?

Yours,
/Areski

Author:  cerien [ Tue Feb 22, 2011 3:08 pm ]
Post subject:  Re: Encoding languageSettings.php

I've actually changed the ClassMail and a2b_mail, so the text of the email is provided as an HTML attachement - works well.

If you want more info, let me know !

J.

Author:  Chevron22 [ Mon Apr 25, 2011 2:18 pm ]
Post subject:  Re: Encoding languageSettings.php

Yes, would love to know how to set up to send out notification emails as HTML, any help would be appreciated

cheers

Author:  cerien [ Wed Apr 27, 2011 8:12 pm ]
Post subject:  Re: Encoding languageSettings.php

I actually cant seem to find how I did it... a diff with the base version doesnt help !!

Only thing I see is that I edited the templates to add HTML tags


<p style="font-family: arial; font-size:12px">
dfsdfsdfd
</p>

Let me know if this helps !

J.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/