Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Tue Apr 03, 2007 7:30 am Reply with quote

Not sure if its really a bug but it doesnt look correct.
Within the archive and there the month March is called in German Mrz you ll get an url like this:http://my-site.de/archive-2007-03-M.html%E4rz.
In English its archive-2007-03-March.html and the title is March, 2007 while the German title is just M, 2007
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Apr 03, 2007 7:06 pm Reply with quote

I suspect this to be a problem with the old GT/GT-NExtGEn as well. I'll have to log this one as a bug and look into it. Unfortunately, I am not too good with dealing in multi-languages as you well know... Sad Thank you for pointing this out though. Another good catch!
 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Tue Apr 03, 2007 7:13 pm Reply with quote

I suspect there will always be a problem with special characters like that as 'taps' only really look for utf8 (english) characters.

I am intrigued though as to whether there might also be some knock-on effects with browser rendering as the users regional settings will be for a specific character map.

Sussan, can you throw me a link, I would like to take a look to see how it appears on my system.
 
View user's profile Send private message
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Wed Apr 04, 2007 6:24 am Reply with quote

Guardian just click Mrz.
I believe there is no difference between different browsers.

Yes, its also a problem with the old GT-Next Gen.


Last edited by Susann on Wed Apr 04, 2007 9:03 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Apr 04, 2007 8:18 am Reply with quote

The problem appears that Mrz must be showing up as

Quote:
März


in the HTML (in the link), pre-tap, which is coming from this define:

define('_MARCH','März');

I'll have to just log this and then when I get the time to analyze this further, I'll have to figure out how to address.
 
View user's profile Send private message Visit poster's website
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Wed Apr 04, 2007 12:37 pm Reply with quote

Thanks Montego.
I solved it by simple renaming Mrz to Maerz in the German language file wich is the same. The title and the url is now correct. define('_MARCH','Maerz');
Of course I would prefer Mrz but its possible thats a problem for some browser. Smile
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Apr 05, 2007 8:16 am Reply with quote

Susann. No worries. I will definitely look into this. Just not sure yet if there is an easy solution.
 
View user's profile Send private message Visit poster's website
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 126

PostPosted: Mon Mar 10, 2008 4:51 am Reply with quote

This seems to be similar to my problem with Scandivian letters .

My suggestion is that you change this line in .htaccess and adds :

RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]

In Shortlinks/GT-Stories_Archieve.php add to this line:

'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_month&amp;year=([0-9]*)&amp;month=([0-9]*)&amp;month_l=([a-zA-Z]*)"',
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Mar 10, 2008 7:47 am Reply with quote

Yeah, I just wish there was a more complete and transferable (across charsets) solution. Thanks for the additional info in this thread.

_________________
To err is human, but when the eraser wears out ahead of the pencil, youre overdoing it.
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 126

PostPosted: Mon Mar 24, 2008 3:01 am Reply with quote

I had a similar problem on my site and to fix it I had to add also %.
You probably must add % in:

RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z%]*).* modules.php?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3 [L]

and

'"(?<!/)modules.php\?name=Stories_Archive&amp;sa=show_month&amp;year=([0-9]*)&amp;month=([0-9]*)&amp;month_l=([a-zA-Z%]*)"',
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunch