It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

How to get rid of "'" in my text

How to get rid of "'" in my text

Postby binary-lime on Sun Jun 01, 2008 3:32 pm

Hi,

I am sending in an array of sentences to google language translation API. The sentences return and are displayed on screen.

Every now and then, "&#39" appears. As far as I know this is the escape character for the apostrophe?

I've tried unescape(string); - but it doesn't appear to work.

The code is at http://development.asclarke.com/modliatranslator.html

Any idea?

Cheers
binary-lime
 
Posts: 3
Joined: Fri May 30, 2008 11:27 am

Postby rangana on Mon Jun 02, 2008 2:08 am

I'm not seeing "&#39" in FF..or maybe it has been resolved already?

If problem still exist, try to remove character encoding or change it to unicode ;)

You might find this link useful:
http://www.w3.org/International/O-charset
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 5 guests