Use correct charset.

This commit is contained in:
Michal Čihař
2006-04-28 08:52:25 +00:00
parent 02ff4b83d3
commit 2e0f8f1bfa
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ $Source$
Customizable link under left logo (RFE #1111599).
* libraries/export/htmlword.php: Fix including column names.
* libraries/export/latex.php: Add missing crlf, remove unused code.
* libraries/export/ods.php: Use correct charset.
2006-04-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* db_printview.php: fixed bug 'no tables found', refactored

View File

@@ -60,7 +60,7 @@ function PMA_exportFooter() {
* @access public
*/
function PMA_exportHeader() {
$GLOBALS['ods_buffer'] .= '<?xml version="1.0" encoding="UTF-8"?' . '>'
$GLOBALS['odt_buffer'] .= '<?xml version="1.0" encoding="' . $GLOBALS['charset'] . '"?' . '>'
. '<office:document-content '
. 'xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" '
. 'xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" '