Glomer2002

Accented Character

Recommended Posts

I try to use accented characters as value for the columns of a column3d chart but the char dont show it I also try to use the URL encode method but nothing, please can you help me . I include the tranform code.

Function arregla(cadena)

cadena = Replace(cadena,"'","%26apos;")

cadena = Replace(cadena,"

Share this post


Link to post
Share on other sites

Hi,

 

i'm a newbie in use of fusion charts.

 

 

 

what do you mean with proper BOM?

 

 

 

have i to add the following lines at the begin of my php script?

 

 

 

echo chr(hexdec("ef"));

 

echo chr(hexdec("bb"));

 

echo chr(hexdec("bf"));

 

 

 

thanks in advance.

 

 

 

Regards.

Share this post


Link to post
Share on other sites

If you're using PHP, it automatically outputs that. Just make sure you're using dataURL method - and in the page which you output XML, you specify the output stream as UTF8 XML.

Share this post


Link to post
Share on other sites

Thanks for your reply Pallav, but i don't understand this...

 

 

 

what do you mean when you tell "you specify the output stream as UTF8 XML" ? How can i do that with php?

 

 

 

Can you give me a little pratical php example?

 

 

 

Regards

 

Bartolomeo D'Alia

Share this post


Link to post
Share on other sites

Try something like:

//Output it

header('Content-type: text/xml');

echo $strXML;

?>

Also, what encoding are you using?

Share this post


Link to post
Share on other sites

Thanks Pallav, now with the header function all works fine!

 

 

 

After adding the header, i simply can output special characters without any type of encoding, for example:

 

echo "Amount, 14.358,00

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