Jody Schofield wrote:
> I'm trying to create an SVG file using the SVGGraphics2D so that I get the 
> following:
> 
> <text ...>&#xAB;Label&#xBB;</text>
> 
> i.e. <<Label>>
> 
> The << and >> are single characters.  When I call drawString( 
> "&#AB;Label&#BB", x, y );  I get <text ...>&amp;#xAB...

The ampersand "escape" is an XML thing, not a Java thing.
In Java you can use \u for non-ASCII characters.

So try something like this.. 

  drawString("\u00ABLabel\u00BB");

Not sure if << and >> are Unicode characters though. You may need
to use different corresponding Unicode values.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

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

Reply via email to