The answer:

axutil_xml_quote_string()

On Fri, Apr 10, 2009 at 11:27 PM, Sam Carleton
<[email protected]>wrote:

> I can never get the terminology straight, but what I am expecting is this:
>
> <night>I like to eat M&amp;M&apos;s</night>
>
> but when I call
>
> adb_nightType_set_nightType( pNight, env, "I like to eat M&M\'s");
>
> The result is:
>
> <night>I like to eat M&M's</night>
>
> How do I get it to encode the string?
>
> Sam
>
>
>

Reply via email to