WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 XLoadTree - displaying accented characters, Tim, July 2, 2003
     Re:XLoadTree - displaying accented characters, Erik Arvidsson, July 2, 2003
     Re:XLoadTree - displaying accented characters, Guilherme Blanco, July 2, 2003

Subject: Re:XLoadTree - displaying accented characters From: Guilherme Blanco Date: July 2, 2003

I already have the same problem...
I corrected it, bringing from the database all data, then using $return_data = html_specialchars($fstring);

This will change the é to é , ã in ã and so on.

But... If you search in earlier posts... I send a message asking about the sixe of them. If you change the mode of displaying the data, the special chars will become smaller ( and least in 30% of all machines I tested ).

I really didnīt find another solution to it, but this seems to be the best one.
The UTF-8 code should work with all languages... itīs weird that it didnīt understand this kind of chars.

Try this, and if you didnīt get any return, contact me.

Regards,
Guilherme Blanco

From: Tim
Sent: July 1, 2003
Subject: Re:XLoadTree - displaying accented characters

I'm trying to get the XLoadTree to render a tree item that has the following special character in it and cant get it to work. Basically any character above ascii 127.

é

From what I can tell, it has to do with the xmlhttp object and the fact that it assumes utf-8 encoding.  According to MS, it supposedly can read any encoding, but as far as the XLoadTree goes, it decides not to render correctly.  The above character doesn't render in utf-8, only in ISO-8859-1 which is what I need to create the xml stream in as that's what character set it is stored as in my database.  The xml stream at the moment is being dynamically generated from a php script and it forcing the output to UTF-8 just to keep the XLoadTree happy.

Is there a fix or workaround for this? Any help is much appreciated.





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX