Bug #16875 ยป 0004820.patch

Administrator Admin, 2007-01-22 14:22

View differences:

t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
748 750
			return $this->getJSON($jsonArray);
749 751
		}
750 752

  
753
			// Encode TCEforms AJAX response with utf-8:
754
		$item = $GLOBALS['LANG']->csConvObj->utf8_encode($item, $GLOBALS['LANG']->charSet);
755

  
751 756
		if (!$current['uid']) {
752 757
			$jsonArray = array(
753 758
				'data'	=> $item,
typo3/alt_doc_ajax.php (Arbeitskopie)
122 122
		header('Last-Modified: '.gmdate("D, d M Y H:i:s").' GMT');
123 123
		header('Cache-Control: no-cache, must-revalidate');
124 124
		header('Pragma: no-cache');
125
		header('Content-type: text/javascript; charset=utf-8');
125 126

  
126 127
		$this->content = '';
127 128

  
    (1-1/1)