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. Advertisements

  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. Advertisements

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:
    837
    Noway2
    Jan 25, 2006
  2. Guest
    Replies:
    1
    Views:
    906
    Catalin Pitis
    Oct 21, 2004
  3. Guest
    Replies:
    1
    Views:
    610
    Ron Natalie
    Oct 21, 2004
  4. Ben

    Strings, Strings and Damned Strings

    Ben, Jun 22, 2006, in forum: C Programming
    Replies:
    14
    Views:
    1,116
    Malcolm
    Jun 24, 2006
  5. Simon Harris

    Extended Character Set - CDONTS

    Simon Harris, Feb 9, 2004, in forum: ASP General
    Replies:
    0
    Views:
    207
    Simon Harris
    Feb 9, 2004
  6. Don Norcott

    Extended ASCII character handeling

    Don Norcott, Nov 17, 2010, in forum: Ruby
    Replies:
    3
    Views:
    443
    Brian Candler
    Nov 18, 2010
  7. Replies:
    4
    Views:
    485
  8. Replies:
    3
    Views:
    215
    John W. Krahn
    May 21, 2008
Loading...