simplify extended character strings

Discussion in 'Java' started by engineer, Jul 11, 2005.

  1. engineer

    engineer Guest

    If I have a String such as

    réservé

    I would like to convert to simply "reserve"

    Is there a library to do the above?

    Similarly á would become a
    Á would become A etc

    Regards
     
    engineer, Jul 11, 2005
    #1
    1. Advertising

  2. "engineer" <> schreef in bericht
    news:...
    >If I have a String such as "réservé"
    >I would like to convert to simply "reserve"
    >Is there a library to do the above?
    >Similarly á would become a, Á would become A etc


    Not that I know of. But you easily parse (a part of) UnicodeData.txt and
    build the conversion table for yourself.
     
    Boudewijn Dijkstra, Jul 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Juan Carlos Allica
    Replies:
    2
    Views:
    694
    Noway2
    Jan 25, 2006
  2. Gerhard Rapp

    How to simplify logical expressions?

    Gerhard Rapp, Jul 29, 2003, in forum: Java
    Replies:
    2
    Views:
    1,267
    Peter Schoaff
    Jul 30, 2003
  3. Dean Rettig
    Replies:
    2
    Views:
    7,789
    Oscar Kind
    Jan 6, 2004
  4. davout
    Replies:
    5
    Views:
    777
    Bryce
    Aug 17, 2004
  5. Ben

    Strings, Strings and Damned Strings

    Ben, Jun 22, 2006, in forum: C Programming
    Replies:
    14
    Views:
    808
    Malcolm
    Jun 24, 2006
Loading...

Share This Page