Identify letters in various languages
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Identify letters in various languages

  1. #1
    Join Date
    Aug 2010
    Posts
    1

    Identify letters in various languages

    Hi,
    I have a huge dictionary project and one of my main problems is to identify letters in other languages than english(Spanish, Danish , German , Greek ...)
    I have heard about the UTF 8 standard, is there any known libary with a function that will be able to identify for me if a given character is a letter or not?
    if i was only using the english language i would have checked for ascii codes but it is not possible with all of those lanuguages

    Even if you cannot help me thanks any way for reading till here (=

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Identify letters in various languages

    Check out the java.lang.Character class. It has a number of methods to identify a character's type some of which work on all language sets including those with complex supplementary character codes.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center