Private GIT

Skip to content
Snippets Groups Projects
Commit d2920431 authored by Dalpil's avatar Dalpil
Browse files

Bugfix: Always use UTF-8 as input encoding

parent 5faaccd8
Branches
No related tags found
No related merge requests found
......@@ -287,6 +287,7 @@ $curRow++;
if( (isset($_GET['exportSections'])) && ($_GET['exportSections'] == "on") ) {
// Create a worksheet
$worksheet_sections =& $workbook->addWorksheet('Sections');
$worksheet_sections->setInputEncoding("utf-8");
$curRow = 0;
$curColumn = 0;
......
......@@ -252,6 +252,7 @@ $curRow++;
if( (isset($_GET['exportSections'])) && ($_GET['exportSections'] == "on") ) {
// Create a worksheet
$worksheet_sections =& $workbook->addWorksheet('Sections');
$worksheet_sections->setInputEncoding("utf-8");
$curRow = 0;
$curColumn = 0;
......
......@@ -157,6 +157,7 @@ if(
) {
// Create a worksheet
$worksheet_domains =& $workbook->addWorksheet('Domains');
$worksheet_domains->setInputEncoding("utf-8");
$curRow = 0;
$curColumn = 0;
......
......@@ -22,6 +22,7 @@ $lineCount = 0;
// Create a worksheet
$worksheet = $workbook->addWorksheet("template");
$worksheet->setInputEncoding("utf-8");
if ($type == 'subnets'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment