I noticed that too. I can work around it by doing a string replace of
"&" with "&" on all venue names returned in a query, but I
shouldn't have to.

As to why it happens, I'll speculate that it looks like the back-end
software (assuming PHP) is doing an unnecessary call to htmlentities()
as the data goes out. The call need only happen once, the first time
the name gets stored in the database.

-Alex

On Mon, Nov 15, 2010 at 10:58, Mike Battista <[email protected]> wrote:
>
>
> Hi,
>
> I've noticed that some venue names have XML entities like &rsquot; in them.  
> For example, "TT the Bear&rsquo;s" venue id "V0-001-001643784-2".
>
> In the /events/search API, this comes back as "TT the Bear&amp;amp;rsquo;s".
>
> This seems to be a problem on http://www.eventful.com/ and in the API.
>
> Was wondering why this happens and/or if there is a best practice for 
> handling this with the API.
>
> Mike

Reply via email to