Re: Unicode special chars

2002-12-09 Thread Timo Haberkern
That works! Thanks, often you can`t see the most obvious solution ;-)
Timo
J.Pietschmann wrote:
Timo Haberkern wrote:
i have a little problem with unicode special characters. If i write 
the Unicode-Newline from my Java Application (with XercesJ) to XML it 
escapes #x2028; to amp;#x2028;. FOP seems to ignore the 
amp;#x2028; and works only as expected if there is a #x2028;

There is a difference between an XML file read by a parser and
strings supplied through a Java interface for XML. Use the
Java syntax for representing Unicode characters: \u2028
in Java strings.
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
--
GrĂ¼sse
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unicode special chars

2002-12-07 Thread Oleg Tkachenko
Timo Haberkern wrote:
i have a little problem with unicode special characters. If i write the 
Unicode-Newline from my Java Application (with XercesJ) to XML it 
escapes #x2028; to amp;#x2028;.
Ask on xerces-user mail list how to do it properly.
 FOP seems to ignore the amp;#x2028;
and works only as expected if there is a #x2028;
Sure. amp;#x2028; looks terrible actually, those 8 charcters have 
nothing to do with unicode new line character.

How can i manage this? Any ideas?
It's offtopic here, sorry.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unicode special chars

2002-12-07 Thread J.Pietschmann
Timo Haberkern wrote:
i have a little problem with unicode special characters. If i write the 
Unicode-Newline from my Java Application (with XercesJ) to XML it 
escapes #x2028; to amp;#x2028;. FOP seems to ignore the amp;#x2028; 
and works only as expected if there is a #x2028;
There is a difference between an XML file read by a parser and
strings supplied through a Java interface for XML. Use the
Java syntax for representing Unicode characters: \u2028
in Java strings.
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]