First letter in order form

larryonov

No avatar

2006-07-12 13:30

Hi, i noticed, when I enter in the order form first letter with diacritics like here:
http://www.xpornreview.com/skishop2/dotaz/1.JPG

that the letter will dissappear in order mail:
http://www.xpornreview.com/skishop2/dotaz/2.JPG

but then I looked in admin, where it is good:
http://www.xpornreview.com/skishop2/dotaz/3.JPG

but, when I click on details, it is here again.....
http://www.xpornreview.com/skishop2/dotaz/4.JPG


I found this topic was solved here one month ago, but no anwers: http://www.opensolution.org/Quick.Cart/forum/index.php?p=readTopic&nr=2300


Please, where is the problem?

larryonov

No avatar

2006-07-12 13:36

and in db file it is saved well, so I think error must be somewhere in reading:
http://www.xpornreview.com/skishop2/dotaz/5.JPG

larryonov

No avatar

2006-07-13 11:00

Please, this is quite important problem for me, and for othe cz or sk users sure too

Claps

Avatar: Claps

2006-07-13 11:51

larryonov - I made some tests and you can try this, tell me if it works for you, for me worked:

- in page.tpl, replace all occurences of $config[charset] with charset of your language (I tried "windows-1250" which is for romanian :) ).

After changes I entered first letter a romanian character (Î,Ă,Ş,Ţ) and the output was correct.

Claps

Avatar: Claps

2006-07-13 11:56

Oh,
And in templates/admin/page.tpl also, i forgot to tell you, and probably this will solve the other problem you have with diacritics in admin section.

larryonov

No avatar

2006-07-13 12:39

Thx for response, i tried and windows-1250 and iso-8859-2, but it is still the same... btw windows-1250 i have defaultly

Claps

Avatar: Claps

2006-07-13 13:06

Replace $config[charset] also in htmlMailOrderDetails.tpl. This should work!

larryonov

No avatar

2006-07-13 15:11

I have defaultly set windows-1250 (i changed it too, but nothing);

look at this, it hides only capital letter on the first place, behind it doesnt hide..
http://www.xpornreview.com/skishop2/dotaz/6.JPG

Isnt there any function that automatically convert first (small) letter into capital letter and during this process makes this bug?

larryonov

No avatar

2006-07-13 20:16

heya dudez, i solved that problem :D !!! in config/general.php, i added this line:

setlocale(LC_ALL'cs_CZ');



and it is ok...

Honza Sofra

No avatar

2007-02-13 00:01

I have the same problem in version 2.0 but setlocale is not solving of this problem for me.
First letter letter with diacritics (Š or š) is not displayed in basket and the letter is not in source code too (letter č is OK)

treewood (OpenSolution)

Avatar: treewood

2007-02-13 08:16

HonzaSofra - edit libraries/Trash.php to changeCharset() function.

Honza Sofra

No avatar

2007-02-13 09:25

treewood - thanx - I replace all Š with S on whole pages - but in the basket is still the same problem. 'Školni' is 'kolni'

I install Quick.Card to another (second) php server and there is not this problem.

Is there anything in PHP installation what can do this problem?

treewood (OpenSolution)

Avatar: treewood

2007-02-13 15:45

Honza Sofra - then edit this product and change its name and after try to add to basket.

sepo

Avatar: sepo

2007-02-13 17:38

Problem z 'š Š' vyriešilo 'setlocale(LC_ALL 'sk_SK');' ale nastal druhý problém z cenou v tvare 123,00 namiesto '.' dáva ','robíto problém s prepočtom v pokladni.

pictures:
http://tvexpres.sk/1.zip

sepo

Avatar: sepo

2007-02-15 21:19

v mojom pripade pomohlo 'setlocale(LC_CTYPE, 'sk_SK');'

Back to top
about us | contact