package org.apache.lucene.analysis;

import junit.framework.TestCase;

import java.io.StringReader;

public class TestISOLatin1AccentFilter extends TestCase {
  public void testU() throws Exception {
    TokenStream stream = new WhitespaceTokenizer(new StringReader("ü"));
    ISOLatin1AccentFilter filter = new ISOLatin1AccentFilter(stream);
    Token token = filter.next();
    assertEquals("u", token.termText);

    assertNull(filter.next());
  }
}

@@ -264,9 +264,14 @@
 er(%22
-%C3%BC
+%5Cu00FC
 %22));

switch dotted u character to use unicode value reference