[program-java] Re: Java: Escape Sequence

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-java@xxxxxxxxxxxxx'" <program-java@xxxxxxxxxxxxx>
  • Date: Thu, 14 Oct 2010 15:45:55 -0400

Laura:

No, I'm looking to insert the ampersand symbol into my string with the use of 
the escape sequence. I've tried the &amp; and \& to no affect. There is plenty 
of HTML examples but this is just straight characters parced through a resource 
bundle from a properties file.

Jim

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
Sent: October 14, 2010 15:42
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Java: Escape Sequence

I don't know the ascii equivalent if that is what you want.
--le
is that in html? if so it is &amp;


        ----- Original Message -----
        From: Corbett, James <mailto:James.Corbett@xxxxxxxxxxxxx>
        To: 'program-java@xxxxxxxxxxxxx'
        Sent: Thursday, October 14, 2010 2:31 PM
        Subject: [program-java] Java: Escape Sequence


        Hi:

        ...back to the resource file again. I'm trying to print the ampersand 
symbol (&) to a screen but it's coming up weird. Does anyone know the Escape 
Sequence for this character?

        Jim

        James M. Corbett

        Programmer / Analyst |
        Canada Revenue Agency | Agence du revenue du Canada
        875 Heron Rd.
        Ottawa, On.
        K1A0L5

        James.Corbett@xxxxxxxxxxxxx
        Telephone | Téléphone: (613) 941-1338
        Facsimile | Télécopieur: (613) 941-2261

        Government of Canada | Gouvernement du Canada




Other related posts: