Just trying to get more scope for those who don't have time to review  
it or are unfamiliar with ICU4J. (Note Eclipse uses ICU4J in its  
default platform to allow better UTF-8 support, I have no problem  
with using it).

thanks, Mark

On Apr 4, 2007, at 11:25 AM, Graham Triggs wrote:

> Hi,
>
> Unfortunately, the necessary Normalizer classes (java.text.Normalizer)
> only formally entered the Java platform API as part of Java 6. See:
>
> http://java.sun.com/developer/technicalArticles/javase/i18n_enhance/
>
>
> The unofficial, undocumented sun.text.Normalizer appears to exist  
> in all
> Sun Java2 platforms (I won't predict whether it exists in non-Sun
> implementations), and should be usable for our purposes in at least  
> Java
> 1.3. See:
>
> http://lists.limewire.org/pipermail/codepatch/2003-March/000074.html
>
>
> But relying on sun.text.* classes is really bad form. Despite it
> appearing to be a rather nominal distinction (according to the above
> post), it would be more reliable to depend on ICU4J until such a time
> that Java 6 became a requirement.
>
> I'm not sure why you've mentioned the XMLUI at this point -  
> although it
> produces a visible change, all* the changes exist entirely inside the
> Java code, and what is written to the database browse tables. So  
> whether
> you have the XMLUI or JSP, shouldn't make any difference - but if you
> are thinking of some other aspect that I haven't considered, please  
> say
> so.
>
> * In fact, the patch only makes one-line changes to Browse.java in  
> three
> places (where it inserts data into the tables). Everything else is
> additional code, except for ONE change to a JSP file, to in the admin
> tools to apply the same normalisation to the author name being entered
> for lookup, as it uses the sort_author column in the ItemsByAuthor
> table.
>
> Note that the above does mean that it needs to be integrated with
> Richard's patch when that is ready, but on the basis of what is
> currently available I've already designed this to have as little  
> impact
> as possible.
>
> G
>
> On Wed, 2007-04-04 at 10:57 -0400, Mark Diggory wrote:
>> Is ICU4J a requirement still if we switch to Java 5? In which case
>> I'd push this off to DSpace1.5 (which will require Java 5 or
>> greater). And if so, it should probably be the case that we explore
>> its implementation in the XMLUI if any at all changes are needed.
>>
>> -Mark
>>
>> On Apr 4, 2007, at 4:53 AM, Graham Triggs wrote:
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

~~~~~~~~~~~~~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Office: E25-131
Phone: (617) 253-1096



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to