Sorting Persian/Farsi text

This is a discussion on Sorting Persian/Farsi text within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi Apologies first - I am not a Persian/Farsi speaker, but I'm working on a project which involves managing ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2004
Peter
 
Posts: n/a
Default Sorting Persian/Farsi text

Hi

Apologies first - I am not a Persian/Farsi speaker, but I'm working on a
project which involves managing content in the language.

Now my question: is there anyone out there who knows anything about sorting
UTF-8 encoded Persian/Farsi text in PHP and MySql. Or more importantly, has
got it working?

From looking at the online manual, Mysql 4.1.1 looks like it should be able
to do the work, tho there doesnt seem to be an officially supported set of
collation files. There must be some out there though?

Same with PHP - even though I setlocale to fa_IR.UTF-8, the sort order
doesnt not seem to come out correctly.

It seems to be to do with compiling in the right collation files - it would
be great to avoid re-inventing too much of that particular wheel.

Thanks in advance for any help or pointers
--
Peter Cruickshank - me at cruickshank dot biz
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0