On Sun, 10 Nov 2002, Nasiri2 wrote:

> SQL server supports Unicode but the problem is that the Persian letters
> are not in correct order in Unicode. So we have problem with database
> when using Unicode.

Sure I can understand. But we have not been successful in convincing 
Microsoft to add Persian sorting support in any of its products yet. We 
need to have a clear standard about sorting, which is far from complete.

> >As far as I can tell, you HTML doesn't have any notion of fields. If you 
> >mean the letters Peh, Gaf, Farsi Yeh, etc, they can be referenced in HTML 
> >pages as "&#x"+hexcode+";". Farsi Yeh becomes "ی", for example.
> 
> OK I knew this, but I want to know when we want to represent a database
> unicode field in an ASP page(finally an HTML formatted page) is any more
> efficient way than converting them dynamically from Unicode to HTML
> entity code.

I'm sorry I don't know ASP. But you can also use UTF-8 in your HTML page
and encode the Persian letters as two bytes. Farsi Yeh becomes 0xDB 0x8C,
for example.

roozbeh

_______________________________________________
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb

Reply via email to