Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Corrupted xml files
#12
OK. Now I'm almost 100% sure that problem is in entities encoding. I have a text that will crash any Get Simple installation (tested on two, different hostings).
Text is Norwegian, with some French letters as well, generally lots of letters that are converted to entities.

I was trying

Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS', 'entities : false');

but this has no effect on xml file as all national letters are converted to entities in xml. What is strange, this happen only with Western script, while any CE script letters (e.g. ń, ź, ć, ą) - except for famous ó, are always rendered as simple characters (no entities).

I was also trying that: http://get-simple.info/forum/post/12471/#p12471 - no effect.

So when I put my text to editor I have lots of warnings like this when trying to save:

Code:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 41: parser error : CData section not finished <p> er en gruppe høyt utdannede in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: <br /> in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 41: parser error : PCDATA invalid Char value 12 in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: <br /> in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 44: parser error : Entity 'bull' not defined in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: • Statsautorisert translatør fransk–norsk (2008)<br /> in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 44: parser error : Entity 'oslash' not defined in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: • Statsautorisert translatør fransk–norsk (2008)<br /> in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 44: parser error : Entity 'ndash' not defined in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: • Statsautorisert translatør fransk–norsk (2008)<br /> in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 45: parser error : Entity 'bull' not defined in /rgt/207/67279/www/temp/admin/inc/basic.php on line 219

And this is only that one page, national characters on other pages are OK.

Is there any solution to have all that national characters saved as e.g. Ã¥ instead of å ? Or actually å..
Reply


Messages In This Thread
Corrupted xml files - by blazejs - 2012-01-09, 19:03:23
Corrupted xml files - by Connie - 2012-01-09, 19:50:52
Corrupted xml files - by blazejs - 2012-01-09, 20:15:16
Corrupted xml files - by mvlcek - 2012-01-09, 20:27:07
Corrupted xml files - by n00dles101 - 2012-01-09, 21:59:00
Corrupted xml files - by mvlcek - 2012-01-09, 22:16:04
Corrupted xml files - by n00dles101 - 2012-01-09, 22:20:57
Corrupted xml files - by blazejs - 2012-01-09, 22:38:39
Corrupted xml files - by n00dles101 - 2012-01-09, 22:42:33
Corrupted xml files - by blazejs - 2012-01-09, 23:36:43
Corrupted xml files - by blazejs - 2012-01-10, 02:26:22
Corrupted xml files - by blazejs - 2012-01-10, 03:58:02
Corrupted xml files - by Ampersand - 2012-01-10, 05:17:32
Corrupted xml files - by Carlos - 2012-01-10, 05:41:38
Corrupted xml files - by yojoe - 2012-01-10, 06:39:54
Corrupted xml files - by blazejs - 2012-01-10, 18:54:54
Corrupted xml files - by ccagle8 - 2012-01-10, 23:42:05
Corrupted xml files - by Ampersand - 2012-01-11, 04:58:30
Corrupted xml files - by blazejs - 2012-01-11, 20:39:43
Corrupted xml files - by Ampersand - 2012-01-11, 21:03:49
Corrupted xml files - by Ampersand - 2012-01-11, 21:33:01
Corrupted xml files - by n00dles101 - 2012-01-11, 22:14:15
Corrupted xml files - by Ampersand - 2012-01-12, 20:40:20
Corrupted xml files - by blazejs - 2012-01-12, 21:51:43
Corrupted xml files - by ccagle8 - 2012-01-18, 05:03:56



Users browsing this thread: 1 Guest(s)