AbanteCart Community

eCommerce construction => How-to questions => Topic started by: João Monteiro on April 24, 2019, 03:55:32 PM

Title: Special Characters
Post by: João Monteiro on April 24, 2019, 03:55:32 PM
Hello everyone

Im new to this forum. I'm having some problem with some characters that Portugues people use.
I bought the pt extension but the problem  is not solved still.
I've searched but still didnt got any idea.

So whenever i try to use some special characters like "ã" "á" "ç" , im using this entity codes , ã etc etc . So problem was solved, but now whenever my costumers create their account and they use this special characters. My email order details , come with this problems.

Example : Rua José Antunes Guima
Title: Re: Special Characters
Post by: João Monteiro on April 24, 2019, 06:42:21 PM
PS: i tried to change the collation in the db but nothing changes.

I can update data via mysql but cant update in /update_address&customer and  /update_customer.

really aprecciate any help
Title: Re: Special Characters
Post by: Basara on April 25, 2019, 04:53:05 AM
Try to replicate issus on http://demo.abantecart.com
In my opinion it is something related to your server because AbanteCart use everywhere UTF8
Title: Re: Special Characters
Post by: João Monteiro on April 25, 2019, 01:14:23 PM
yes you are right in the demo preview. this doesnt happen but in my website this is happening.

should i contact my hosting service?
Title: Re: Special Characters
Post by: João Monteiro on April 26, 2019, 08:18:14 PM
Found Solution: View/default/template/form/form_open

<form
        id="<?php echo $id ?>"
        <?php if($action) { ?>action="<?php echo $action ?>"<?php } ?>
        accept-charset="ISO-8859-1"
        <?php if($method) { ?>method="<?php echo $method ?>"<?php } ?>
        <?php if($enctype) { ?>enctype="<?php echo $enctype ?>"<?php } ?>
        <?php echo $attr ?>
>

i added this :  accept-charset="ISO-8859-1"

Title: Re: Special Characters
Post by: Basara on April 30, 2019, 01:40:54 AM
I think it will not resolve all your issues.
You have to change charset globally