Re: BText and Unicode-encoded characters

Richard Kunze <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Organization Tivano Software GmbH
Message-ID <[email protected]>
On Thursday 13 February 2003 13:37, Christian Cryder wrote:
> Try this:
>
> BText btext4 = new BText("" + btext1 + btext2 + btext3);

Are you sure this works? 

If I'm not very much mistaken, this will simply create a new BText component 
containing the cocatenation of all the other BText's contents as one Java 
String. And - because btext4 allows inlined markup and HTML escaping takes 
place at DOM output time - this will result in exactly the same problems as 
the original code....


-- 
Richard Kunze 

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, [email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+S7ux86Aqb3OZfF4RArwxAJ9TidUESAQvRsJ2JNoDFi+XCv27ugCgmiIk
cxU/NWD+8XE2Lb38XDPjsus=
=wqZO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.