Forums / Developer / ' displayed on internet explorer (works on firefox)
Massimiliano Bariola
Tuesday 28 March 2006 2:37:45 am
Hi,
I have the following problem:
http://www.flcgil.it/utils/search?text=La+scuola+come+luogo&SearchButton.x=40&SearchButton.y=4
on firefox the page is correctly displayed, but it will not on IE, showing many ' characters.
show source for firefox shows that it converted the ' entity to the " ' " mark, while show source for IE shows the ' entity.
site language is italian, but doctype for pages is like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">
(I'd love to know where to change that xml:lang and lang to "it")
What is the problem and how can I fix it?
thank you
Kristof Coomans
Tuesday 28 March 2006 2:57:00 am
Which version of Exponential are you using?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Fabricio Guerrero
Tuesday 28 March 2006 3:18:14 am
I had same exact problem while back and it came down to how you're displaying text/content.
I had to show content in these formats in different given situations:
{$:item.data_map.intro.content.output.output_text}
{$matched_node.object.data_map.title.content|wash}
and the normal:
{attribute_view_gui attribute=$matched_node.object.data_map.intro}
As it depends on how what type the field is and which is the best to display its content...
Regards,Fabricio
http://www.solobromasychistes.com <<Joomla Site :P http://www.recipesforhealthyfood.com/ <<Drupal Site :P http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...
Tuesday 28 March 2006 3:27:13 am
ezp 3.7.2 rev 13942 .
It seems that IE does not handle 'entities though ....
http://fishbowl.pastiche.org/2003/07/01/the_curse_of_apos http://www.unc.edu/~zito/worklog/archives/2004/11/microsoft_ie_do.htmlhttp://msdn.microsoft.com/workshop/author/dhtml/reference/charsets/charset1.asp
but maybe something can be done on XMLtext conversion, because it is there that the ' is generated. it happens in HTML texts and those entered via OE. is there a way to force XML text to convert ' to say, ' ?
Tuesday 28 March 2006 4:59:04 am
I found the solution.
http://ez.no/community/forum/developer/displaying_apostrophes