This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Character isDefined != UNASSIGNED


Hi,

On Sun, 2002-04-07 at 02:52, Eric Blake wrote:
> Mark Wielaard wrote:
> >
> > - Should isUppercase('\u2102') return true or false?
> 
> \u2102 is uppercase, according to Unicode 3.0.0, so it should return
> true.

The Character javadoc for 1.2 made a special exception for the range
'\u2000' through '\u2FFF' but it seems that even Sun didn't obey that
definition. So I will just disable this test for now.

> > - Is \u01bf a LOWERCASE_LETTER or OTHER_LETTER?
> 
> Lowercase.
>
> > - Is \u00ab START_PUNCTUATION or something else?
> 
> INTIAL_QUOTE_PUNCTUATION (a category added in JDK 1.4)
> 
> > - Is \u2019 END_PUNCTUATION or something else?
> 
> FINAL_QUOTE_PUNCTUATION (the other new category in JDK 1.4)

OK they all seem to have been defined/interpreted differently in past
versions of the JDK docs/implementations. I will disable these tests
also. We should probably write new Character tests for Mauve.

Thanks, I just needed an excuse to get these last Character failures of
my list.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]