Comment faire correspondre les caractères unicode en Java

Je m d'essayer de faire correspondre les caractères unicode en Java.

Chaîne D'Entrée: informa

Chaîne de match : informátion

Jusqu'à présent, j'ai essayé ceci:

Pattern p= Pattern.compile("informa[\u0000-\uffff].*", (Pattern.UNICODE_CASE|Pattern.CANON_EQ|Pattern.CASE_INSENSITIVE));
    String s = "informátion";
    Matcher m = p.matcher(s);
    if(m.matches()){
        System.out.println("Match!");
    }else{
        System.out.println("No match");
    }

Il ne sort qu'à "Aucun match". Des idées?

Que diriez -îñfórmåtìön? Faut-il "le Match!"?
Oui, ce serait l'idée. Pour l'instant, les plats ferait.

OriginalL'auteur ankimal | 2010-06-23