Page 2 of 3

Re: Special european characters fix

Posted: Mon Jun 14, 2010 1:40 pm
by Martin
Tony Barnes wrote:Hmmm, I guess - but it's still a PITA!

As a hack there aren't going to be many products that are "that" similar, so would be an ok workaround I reckon - or are you saying that it would need to be unique to work "backwards" (i.e. cart interpreting an entered URL)?
The latter... Those examples I gave above would all be interpreted as being the product and that would result in either the first product being returned as the correct URL or the system falling over.

Re: Special european characters fix

Posted: Mon Jun 14, 2010 5:18 pm
by Tony Barnes
Ok, so on the assumption that you don't have products that are "that" similar, it would be ok? Might be worth setting up to test and see what happends, can always revert. I just can't figure what i'd need to put in to that hack to do it?!

Re: Special european characters fix

Posted: Mon Jun 14, 2010 7:03 pm
by Martin
Tony Barnes wrote:Ok, so on the assumption that you don't have products that are "that" similar, it would be ok? Might be worth setting up to test and see what happends, can always revert. I just can't figure what i'd need to put in to that hack to do it?!
You need a different hack...

I think I posted up something a ways back about the right one so I'll try and relocate it for you when I get 5 minutes to think.

Re: Special european characters fix

Posted: Tue Jun 15, 2010 9:30 am
by Tony Barnes
That'd be great, thanks :)

Re: Special european characters fix

Posted: Sat Oct 23, 2010 8:22 am
by dwrs
This is what i need :) thank you but we have another characters also in our country like ş,ğ,ü,ö,ç,ı,I,Ö,Ç,Ş,Ğ,Ü,İ and I want to chane these characters to ş=s , ç=c , ğ=g , ü=u , ö=o , ı=i , I=i , Ö=O , Ğ=G , Ç=C , Ş=S , Ü=U , İ=I can I change these characters with your fix?

Thanx

Re: Special european characters fix

Posted: Thu Oct 28, 2010 1:32 pm
by dwrs
:? can anybody answer?

Re: Special european characters fix

Posted: Thu Oct 28, 2010 2:18 pm
by CharlieFoxtrot
dwrs wrote::? can anybody answer?
At first glance, it appears that the only thing you need to do is edit (or add additional characters to) the code that appears at the beginning of this thread.

Re: Special european characters fix

Posted: Sat Dec 04, 2010 2:00 pm
by John Snow
dwrs wrote:This is what i need :) thank you but we have another characters also in our country like ş,ğ,ü,ö,ç,ı,I,Ö,Ç,Ş,Ğ,Ü,İ and I want to chane these characters to ş=s , ç=c , ğ=g , ü=u , ö=o , ı=i , I=i , Ö=O , Ğ=G , Ç=C , Ş=S , Ü=U , İ=I can I change these characters with your fix?

Thanx
Well of course you can fix them. All you need to do is look up your desired characters in UTF-8 literals table and add them to the function I shared here. I suppose you do not know exact literal values, so suit yourself and look them according to your language here:

http://www.utf8-chartable.de/unicode-utf8-table.pl

The rest is painfully easy.

Re: Special european characters fix

Posted: Fri Apr 15, 2011 3:09 pm
by skogelure
Im working in v6.1.1 and nothing happends if i place the code after line 135 in lib/general.php file.
Where exactly should I insert the code?

Re: Special european characters fix

Posted: Mon Apr 25, 2011 6:19 pm
by kennydj
errors, when used đ("\xc4\x91"=>"d") and Đ(,"\xc4\x90"=>"D"), When you click on product links -->(The page you were looking for appears to have been moved, deleted or does not exist. ) help me!