Re: auxiliary exemplar characters

From: Mark Davis (mark.davis@icu-project.org)
Date: Wed Apr 11 2007 - 10:53:43 CST

  • Next message: Ed Trager: "Re: Beta version of Unibook 5.1"

    You should post questions like this to cldr-users@unicode.org.

    I'll go ahead and answer here for simplicity. The mistake that resulted was
    not connected with the \u notation; it was a missing "[". A set of
    characters needs to be of the form "[a-b m-p]", not just "a-b m-p". We do
    use \u notation for those characters that are not normally visible
    (whitespace and default ignorable characters). Exemplar characters in CLDR
    normally only include letters, and thus don't need the joiner characters
    200C <http://unicode.org/cldr/utility/character.jsp?a=200C> ( ■ ) ZERO WIDTH
    NON-JOINER
    200D <http://unicode.org/cldr/utility/character.jsp?a=200D> ( ■ ) ZERO WIDTH
    JOINER
    We may, however, tighten that up in conjunction with
    http://www.unicode.org/review/#pri96.

    Mark

    On 4/10/07, Balasankar <balasankar@cdactvm.in> wrote:
    >
    > Is it possible to add a character as \u+unocode value ex: \u200d in
    > auxiliary exemplar list? The following error occurred when I tried to do
    > the above.
    >
    > java.lang.IllegalArgumentException: Error: Missing '[' at "\\u200d| \\u200c"
    > java.lang.IllegalArgumentException: Error: Missing '[' at "\\u200d| \\u200c"
    > at com.ibm.icu.text.UnicodeSet.syntaxError(UnicodeSet.java:2650)
    > at com.ibm.icu.text.UnicodeSet.applyPattern(UnicodeSet.java:2466)
    > at com.ibm.icu.text.UnicodeSet.applyPattern(UnicodeSet.java:2263)
    > at com.ibm.icu.text.UnicodeSet.(UnicodeSet.java:367)
    > at org.unicode.cldr.test.ExampleGenerator.getExampleHtml(ExampleGenerator.java:258)
    > at org.unicode.cldr.web.SurveyMain.printCells(SurveyMain.java:5832)
    > at org.unicode.cldr.web.SurveyMain.showPea(SurveyMain.java:5598)
    > at org.unicode.cldr.web.SurveyMain.showPeas(SurveyMain.java:4629)
    > at org.unicode.cldr.web.SurveyMain.showPeas(SurveyMain.java:4443)
    > at org.unicode.cldr.web.SurveyForum.showXpath(SurveyForum.java:450)
    > at org.unicode.cldr.web.SurveyForum.doXpathPost(SurveyForum.java:418)
    > at org.unicode.cldr.web.SurveyForum.doForum(SurveyForum.java:193)
    > at org.unicode.cldr.web.SurveyMain.doSession(SurveyMain.java:2694)
    > at org.unicode.cldr.web.SurveyMain.doGet(SurveyMain.java:408)
    > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..java:213)
    > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve..java:178)
    > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    > at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
    > at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
    > at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
    > at java.lang.Thread.run(Thread.java:595)
    >
    > Secondly, is it possible to override a proposed entry that i made in
    > auxiliary exemplar list and how?
    >
    > ______________________________________
    > Scanned and protected by Email scanner
    >
    >
    >

    -- 
    Mark
    


    This archive was generated by hypermail 2.1.5 : Wed Apr 11 2007 - 10:57:56 CST