How to determine Script from given Unicode text?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > How to determine Script from given Unicode text?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to determine Script from given Unicode text?  
Gaurav Jain


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-24-05 08:48 PM

Hi,

I need to find a way to determine the "best script" corresponding to a given
Unicode string/char. For example, if I have some unicode text containing
Thai characters, I want to be able to say that it is "thai". And if the text
contains latin characters, I need to be able to say it is "latin".

Is there a Linux API (or some library) that can help me determine this?  On
Windows I think we do it by looking up the code pages corresponding to the
unicode characters.

Thanks in advance,

Gaurav








[ Post a follow-up to this message ]



    Re: How to determine Script from given Unicode text?  
Måns Rullgård


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-24-05 08:48 PM

"Gaurav Jain" <gaurav.anywhere@gmail.com> writes:

> Hi,
>
> I need to find a way to determine the "best script" corresponding to
> a given Unicode string/char. For example, if I have some unicode
> text containing Thai characters, I want to be able to say that it is
> "thai". And if the text contains latin characters, I need to be able
> to say it is "latin".

http://www.unicode.org/Public/UNIDATA/Scripts.txt

--
Måns Rullgård
mru@inprovide.com





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register