You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 68 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problems with Norwegian (scandinavian) letters and GT [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
DoRullings
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 20


PostPosted: Fri May 28, 2004 10:12 am Reply with quoteBack to top

Hi
There is some problems with Google Tap and Norwegian letters (probably other characters aswell). I write more about it here:
- http://gt.audioslaved.com/ftopict-358.html
and here:
http://gt.audioslaved.com/ftopict-357.html

They dont show up in the url correctly. Have anyone a solution to this?

Thanks,
DoRullings
Find all posts by DoRullingsView user's profileSend private message
DoRullings
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 20


PostPosted: Sun May 30, 2004 1:50 pm Reply with quoteBack to top

Doesnt anyone know anything about this? I'm sure many users from different countries who have problems with this!?
Find all posts by DoRullingsView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sun May 30, 2004 6:43 pm Reply with quoteBack to top

The only thing I can suggest perhaps (I'd have to look into it), is to use [:print:] (or maybe [:alnum:]) in the regex code.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
DoRullings
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 20


PostPosted: Mon May 31, 2004 2:37 am Reply with quoteBack to top

I wrote a very simple solution myself, but I think its good enough!?

For nukecops google tap:
Find this line in header.php:
Code:
$s = preg_replace($urlin, $urlout, $s);


and after this on a new line, add this:
Code:
$s = rawurldecode($s);



For GT-NExtGeN:
Find this line:
Code:
$contents = str_replace(array("&&", "·", " "), array("&&", "·", " ;"), $contents);

and after this on a new line add this:
Code:
$contents = rawurldecode($contents);


This will replace every (%) signs followed by two hex digits and replace it with literal characters. For example "%E5" is replaced with: "ĺ".

This should work for all characters in the world as long as Apache have the character set installed and activated.

Regards,
DoRullings
Find all posts by DoRullingsView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon May 31, 2004 8:28 am Reply with quoteBack to top

Oh very nice!

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
DoRullings
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 20


PostPosted: Thu Jun 17, 2004 5:59 am Reply with quoteBack to top

Thanks m8!
comming late, comming good Wink
Find all posts by DoRullingsView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Fri Jun 18, 2004 9:22 pm Reply with quoteBack to top

Great find, I will look into adding this into the main NExtGEn distro, I will definitely have it there will comments there so people can uncomment if they have the need for it. Good job!

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
DoRullings
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 20


PostPosted: Tue Jun 22, 2004 9:38 am Reply with quoteBack to top

Audioslaved wrote:
Great find, I will look into adding this into the main NExtGEn distro, I will definitely have it there will comments there so people can uncomment if they have the need for it. Good job!


Thanks man! Very nice that you will implenment it, cause I'm sure there will be some need for this out there. There are after all many countries that have this special characters (not only scandinavian, germany for instance).
This fix works for every browser I've tested, except Mozilla and Mozilla Firefox (only tested the windows version). Little suprising really :-/
I'll send a bug report to Mozilla about this.

Keep up the good work!

Regards,
DoRullings
Find all posts by DoRullingsView user's profileSend private message
kourou
Nuke Cadet
Nuke Cadet


Joined: Jan 22, 2004
Posts: 8

Location: Komotini, Greece

PostPosted: Tue Aug 09, 2005 9:04 am Reply with quoteBack to top

Does this tweak also work in version 0.4a of GT-NextGen?
I could not find the lines mentioned above. What should i do?

Thanks in advance.
Find all posts by kourouView user's profileSend private messageVisit poster's websiteMSN Messenger
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.221 Seconds - 322 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::