Webmastersite.net
Register Log In

Problem with tweaks.php (accenttweak)

Comments on Problem with tweaks.php (accenttweak)

befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Dec 18, 2007 - 2:47 PM:

Hallo Paul,

I used in my WSN file tweaks.php by according to this topic.

I use apache mod_rewrite URL rewriting in Admin /SEO.

Now, I have link with title "žaba" and I need adress of this links detail:

http://wsnlinks.com/1/zaba-1.html


I write into tweaks.php this code:


$accenttweak['from'] = 'ž'; //
$accenttweak['to'] = 'z'; //


but no change in url adress of details link and url adress is:

http://wsnlinks.com/1/aba-1.html


Please, help me.

Thanks.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 20, 2007 - 3:45 PM:

ž seems to save as & # 3 8 2 ; (without the spaces) in the database, but then when I type it in the tweaks file it somehow becomes ž, which translates to & # 1 9 7 ; & # 1 9 0 ;. I guess need to know what character set tweaks.php is supposed to be saved as. utf-8 doesn't work.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.