Sign in to follow this  
Rahul Kumar

Wrong coding of special chars

Recommended Posts

Hello,

 

 

 

(Due to problems with displaying my code examples inside this post, the code is in attached txt file - please open it prior to reading further).

 

 

 

I have a record value in mySQL database which contains apostrophe (see txt file). After launching addDataFromDatabase in which the record with the apostrophe is involved, final XML for this record is broken and the chart cannot be displayed properly.

 

 

 

I see encodeSpecialChars function in your PHP library, but it seems something goes wrong with encoding.

 

 

 

Thank you in advance for your support.

 

 

 

Regards,

 

Boasoft.

encoding_problem.txt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this