accents management

Didier31

Avatar: Didier31

2009-01-03 11:10

There is something wrong in accents management.

When cretaing text in the language file with accents, all text is displayed fine everywhere in the software.

But when one creates for example a new carrier name with accents, the accent does not display correctly when this text variable is used.

FYI.

» Quick.Cart v3.x

QC 3.2 EXT Fr customized de chez

Didier31

Avatar: Didier31

2009-01-03 11:12

"creating"

QC 3.2 EXT Fr customized de chez

beholder

Avatar: beholder

2009-01-03 12:32

can you give example?

It could be encoding format of the files, try switching from UTF-8 to ANSI. First set it in lang/fr.php (for example "Windows-1250" does accents really well here).

Then change and save the format of this file as ANSI. Notepad++ does format changing very well. The same with all db files and libraries/Trash.php. Config files too.

Didier31

Avatar: Didier31

2009-01-03 12:56

carrier "local delivery from shop" in French would be "Enlèvement à l'atelier"

In Carriers list, text displays correctly with accents.

In the Orders Confirmation email, text displays with funny looking characters which seem to be UTF-8 instead of their translation.

I'll dig in that direction.

I tried to change UTF-8 to anything else, all my site was messed up :-(

QC 3.2 EXT Fr customized de chez

Didier31

Avatar: Didier31

2009-01-03 12:58

see ?
I typed "Enl è vement à l'atelier" and this forum software is displaying
è and à instead !

QC 3.2 EXT Fr customized de chez

beholder

Avatar: beholder

2009-01-03 13:16

oh, you should have said that it displays wrong in the e-mail. I think this problem is solved here? http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=5406

Didier31

Avatar: Didier31

2009-01-03 16:34

Neat !
That was it. Not exactly some of all what was written in that post, but actually a missing "change2latin" function when displaying the carrier name (who could create a carrier name with an accent ???) :-)

QC 3.2 EXT Fr customized de chez

beholder

Avatar: beholder

2009-01-04 22:02

could you please post whole solution to this problem here, as to where to fix it for future reference? Thanks.

Didier31

Avatar: Didier31

2009-01-04 22:24

it has been broken when I swapped to iso-8859-1 so I had to remove it. It was just a
sCarriername = change2latin (sCarrierName) ;
before the SendEmailWithOrderDetails function call.

As soon as all my testing is fine, I'll send to OpenSolution the whole kit turned to French. I have added in each and every source an audit trail.

http://www.airtrainingsystems.com/iloveqc.bmp

Back to top
about us | contact