N
Nir
Hello,
I have a simple Unicode string in my c# application. I would like to
tell which languages this string contains. For example, if this string
have some letters in Greek and English than I would like to tell that
to my user.
Obviously I can't identify languages which has the same letters subset
(for example German and English), but that's ok. Telling which letters
subsets exist is enough for me.
I thought of using the following table:
http://msdn2.microsoft.com/en-us/library/ms776439.aspx
And than iterate over each letter in my string in order to check for
which Unicode
subrange it fits (and according to that know what language this letter
belongs to).
If there is a better way I'll appreciate if you share it.
Thank you very much,
Nir Levy.
I have a simple Unicode string in my c# application. I would like to
tell which languages this string contains. For example, if this string
have some letters in Greek and English than I would like to tell that
to my user.
Obviously I can't identify languages which has the same letters subset
(for example German and English), but that's ok. Telling which letters
subsets exist is enough for me.
I thought of using the following table:
http://msdn2.microsoft.com/en-us/library/ms776439.aspx
And than iterate over each letter in my string in order to check for
which Unicode
subrange it fits (and according to that know what language this letter
belongs to).
If there is a better way I'll appreciate if you share it.
Thank you very much,
Nir Levy.