Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


How to get rid of "'" in my text



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
binary-lime



Joined: 30 May 2008
Posts: 3

PostPosted: Sun Jun 01, 2008 4:32 pm    Post subject: How to get rid of "'" in my text Reply with quote

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
Back to top
View user's profile Send private message
rangana
500+ Club


Joined: 27 Feb 2008
Posts: 563
Location: Cebu City Philippines

PostPosted: Mon Jun 02, 2008 3:08 am    Post subject: Re: How to get rid of "'" in my text Reply with quote

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 Wink

You might find this link useful:
http://www.w3.org/International/O-charset
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap