RE: Problems converting from UTF-8 to UCS-2 and vice-versa using JRun 3.1, SQL Server 2000, Windows 2000 and Java 3.1

From: Marco Cimarosti (marco.cimarosti@essetre.it)
Date: Thu Sep 12 2002 - 08:11:52 EDT


I (Marco Cimarosti wrote):
> [...] doesn't (newQfLibelleArray[i]) have a method to
> return a <String> object directly?

Perhaps I have been clumsy. By "returning a <String> object directly" I
meant, can't you so something like this:

        String tempUtf16 = new String( (newQfLibelleArray[i]) );

Or perhaps:

        String tempUtf16 = new String( (newQfLibelleArray[i]).getString() );
        String tempUtf16 = new String( (newQfLibelleArray[i]).getText() );
        String tempUtf16 = new String( (newQfLibelleArray[i]).String() );
        String tempUtf16 = new String( (newQfLibelleArray[i]).Text() );

Or whatever the actual method's name is.

_ Marco



This archive was generated by hypermail 2.1.2 : Thu Sep 12 2002 - 08:48:54 EDT