You are not logged in.

1

Thursday, November 22nd 2018, 2:59pm

special characters with textfield and included xml-file

Source code

1
2
3
4
<plugin name="text_pano" url="plugins/textfield.swf" 
		
		html=""
 />

Source code

1
2
3
4
5
<action name="show_info">
	
	copy(plugin[text_pano].html, data[exampletext.content);
	
	</action>

Source code

1
2
3
<data name="exampletext">
  	<p>ä ö ü ß</p>
	</data>


Hi, the above code works fine when I put the data into the main xml-file. When I put it into an extra-file by including that file in the main xml-file the special chars are shown wrong. Is there a way to get them correctly in an extra-file, too?Thanks!

This post has been edited 1 times, last edit by "Muxi" (Nov 22nd 2018, 3:09pm)


spacerywirtualne

Professional

Posts: 866

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

2

Thursday, November 22nd 2018, 3:12pm

Can you try close a data content in CDATA tag?

Source code

1
2
3
<data name="exampletext"><![CDATA[    
    <p>ä ö ü ß</p>
]]></data>



Piotr
You own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: facebook group :: youtube

cms4vr team *thumbsup*

3

Thursday, November 22nd 2018, 3:16pm

thanks but that doesn't work, too...

4

Thursday, November 22nd 2018, 3:20pm

ah, got it, I had to change the file to UTF-8...