Author Topic: Special Characters  (Read 3139 times)

Offline João Monteiro

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Special Characters
« 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

Offline João Monteiro

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Special Characters
« Reply #1 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Special Characters
« Reply #2 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

Offline João Monteiro

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Special Characters
« Reply #3 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?

Offline João Monteiro

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Special Characters
« Reply #4 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"


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Special Characters
« Reply #5 on: April 30, 2019, 01:40:54 AM »
I think it will not resolve all your issues.
You have to change charset globally

 

Powered by SMFPacks Social Login Mod