V
venkat9200
I need to find out how many bytes a particulat language text takes.
In my application i have a display limit for the unicode string.
So i need to find the no of bytes a particular language text takes and
truncate it to the my limit.
i found the CultureInfo class gives the information for a paricular
language id. But i cannot find any calss that gives the codepage(ANSI)
used for a particular LCID.
Even windows API functions to known the codepage for a particular LCID
will solve my problem
Please help me to solve this.
In my application i have a display limit for the unicode string.
So i need to find the no of bytes a particular language text takes and
truncate it to the my limit.
i found the CultureInfo class gives the information for a paricular
language id. But i cannot find any calss that gives the codepage(ANSI)
used for a particular LCID.
Even windows API functions to known the codepage for a particular LCID
will solve my problem
Please help me to solve this.