WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Problem with tweaks.php (accenttweak)

Version: 4.1.21
printPrint


Problem with tweaks.php (accenttweak)
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Posts: 82
Posted 12/18/07 - 12:47 PM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5965
Posted 12/20/07 - 01:45 PM:
quote post
#2
ž 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.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.