chinese language URL Method 2 problem

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-12-2009, 12:37 AM
New Pligger
 
Join Date: Mar 2009
Posts: 12
Hi guys,

I installed pligg 1.0 rc2. i created some catogories in Chinese. Display of the frontpage is fine. but I noticed the URL Method 2 doesn't work, giberish as below:

RewriteRule ^(all|ae%96%B0e%97%BB)/([^/]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|ae%96%B0e%97%BB)/?$ ?category=$1 [L]

I have got a complete chinese site: www.888mark.com I want to switch it to using pligg but this url rewrite problem really hesitates me.

Does anybody have the sample problem for using different language?

Thanks alot!

Last edited by mark3009; 03-12-2009 at 12:43 AM.
Reply With Quote
  #2 (permalink)  
Old 03-12-2009, 01:14 AM
New Pligger
 
Join Date: Mar 2009
Posts: 12
Seems directly using different language for pligg 1.0 doesn't work. I created some articles in Chinese the url is in mess: 唛客ä¸*文网 - åŒ—ç¾Žç½‘å€æ”¶è—,生活信æ¯åˆ†äº«å’Œç‚¹è¯„ |

Any solution to this problem? Thank you
Reply With Quote
  #3 (permalink)  
Old 03-12-2009, 02:47 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Try the latest SVN version, we've made more improvements to UTF-8 characters. You can grab a recent SVN version from here. If the latest SVN version doesn't fix the problem please follow up and open up a support ticket letting us know which SVN version you are using (the zip file number).

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #4 (permalink)  
Old 03-13-2009, 07:12 PM
New Pligger
 
Join Date: Mar 2009
Posts: 12
I installed the SVN. Its better than before Now the display for chinese character in Admin panel is ok. But still there is a 50% chance for the imported rss in mess ( url is not recoganized then a 404 page not found comes up). for the time being I figured out a simple method to show article in a correct way:

Switch SEO Friendly URL's for stories and Friendly URL's for categories both to id, default is title. Maybe for its having no special characters in the URL, everything is ok. If you have got a foreign language problem you may want to try this method.

Last edited by mark3009; 03-13-2009 at 10:09 PM.
Reply With Quote
  #5 (permalink)  
Old 03-13-2009, 11:36 PM
New Pligger
 
Join Date: Mar 2009
Posts: 12
I have got a new problem, pre-made categories are becoming:

RewriteRule ^(all|ae%97%B6a%BA%8B|news|e%BD%91e%BB%9C|e%A7%91a e%8A%80|e%A1%ACa%BB%B6|e%BD%AFa%BB%B6|ae%B8%B8ae%8 8%8F|e%94%9Fae%B4%BB|a%A8%B1a%B9%90|e%B4%A2e%BB%8F |a%BD%93e%82%B2|e%81%8Cae%B0%B4|e%A7%82e%82%B9|a%B 8%96e%95%8C|a%BA%A4ae%B5%81|e%B6%85e%BA%A7e%9B%AEa %BD%95)/([^/]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|ae%97%B6a%BA%8B|news|e%BD%91e%BB%9C|e%A7%91a e%8A%80|e%A1%ACa%BB%B6|e%BD%AFa%BB%B6|ae%B8%B8ae%8 8%8F|e%94%9Fae%B4%BB|a%A8%B1a%B9%90|e%B4%A2e%BB%8F |a%BD%93e%82%B2|e%81%8Cae%B0%B4|e%A7%82e%82%B9|a%B 8%96e%95%8C|a%BA%A4ae%B5%81|e%B6%85e%BA%A7e%9B%AEa %BD%95)/?$ ?category=$1 [L]

Can I manually copy paste the category names (following the rewrite rule for English text) into .htaccess to make URL method 2 working?

Thank you
Reply With Quote
  #6 (permalink)  
Old 03-14-2009, 01:35 AM
New Pligger
 
Join Date: Mar 2009
Posts: 12
Still big problem.

If I switch url to id then all articles imported point to the same article at front page no matter what id an article is linked to. but in the admin panel all imported articles linking to correct ones inside the popup "edit window".

If I switch url back to title, everything is back to normal. but the url display is again like: åŠ*拿大囚犯用指甲刀越狱 | 51 BBS.LA - 我è¦BBS啦! è¶…çº§è®ºå›æ”¶è—夹

What I can do? please help.

Note: I upgraded to SVN 436 from rc2. Independent installation of 436 doesn't work (after installation success, no login admin page found - 404 page error!, so I had to install rc2 first and upgrade to 436)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Importer AshDigg Wiki Articles 16 10-27-2010 08:37 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development